Unable to run Name node and datanode on Single Node cluster: Does not contain a valid host:port

0 votes

During Pseudo mode setup on Hadoop 1, I am unable to run Data Node and Name Node, while Job Tracker and Task Tracker are running fine.
Error msg is as below:

ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: java.lang.IllegalArgumentException: Does not contain a valid host:port authority: file:///
May 22, 2019 in Big Data Hadoop by Rana
78 views

1 answer to this question.

0 votes

Add the following properties in the core-site.xml file, it should work:

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!-- Put site-specific property overrides in this file. -->

<configuration>
<property>
 <name>fs.default.name</name>
 <value>hdfs://ip-172-31-36-43.us-east-2.compute.internal:9000</value>
</property>
</configuration>
answered May 22, 2019 by Sanam

Related Questions In Big Data Hadoop

0 votes
1 answer

How to install and configure a multi-node Hadoop cluster?

I would recommend you to install Cent ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by Shubham
• 13,370 points
770 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,840 points
3,915 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,840 points
539 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
20,818 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,290 points
1,476 views
0 votes
1 answer

Explain to me the difference between name node and secondary name node.

Firstly, You need to understand the major ...READ MORE

answered Apr 30, 2019 in Big Data Hadoop by ravikiran
• 4,600 points
84 views
0 votes
1 answer

How to set Hue Plugin for JobTracker on a different host?

When the JobTracker and the Hue Server ...READ MORE

answered May 24, 2019 in Big Data Hadoop by Jishan
38 views