DJOB TRACKER : Can not start task tracker because java.lang.IllegalArgumentException: Does not contain a valid host:port authority: 127.0.0.1:9001

0 votes

Once I've done configuring Hadoop, checked the running process status by jps command. Only NameNode, Secondarynamenode and Datanode were running not Jobtracker and Tasktracker. Then I opened the Jobtracker log file, the error was

Can not start task tracker because java.lang.IllegalArgumentException: Does not contain a valid host:port authority: 127.0.0.1:9001

My mapred-site.xml file below:

<property>

<name>mapred.job.tracker</name>

<value>127.0.0.1:9001 </value></property>

Can anyone tell how to come out of this error?

Aug 5 in Big Data Hadoop by Nisha

edited Aug 5 12 views

1 answer to this question.

0 votes

Hey,

According to your property set up, there should not be any mistake in mapred-site.xml, I guess there is a silly mistake that there should not be any space between the value and XML closing tag.

Just modified the mapred-site.xml file by:

<property>

<name>mapred.job.tracker</name>

<value>127.0.0.1:9001</value> </property> 


answered Aug 5 by Gitika
• 25,300 points

Related Questions In Big Data Hadoop

0 votes
1 answer

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

Add the following properties in the core-site.xml file, it ...READ MORE

answered May 22 in Big Data Hadoop by Sanam
27 views
0 votes
1 answer

Not a host:port pair: PBUF?

Hey. This error usually occurs when the ...READ MORE

answered Jul 22 in Big Data Hadoop by Esha
51 views
0 votes
1 answer

Not able to start Job History Server in Hadoop 2.8.1

You have to start JobHistoryServer process specifically ...READ MORE

answered Mar 29, 2018 in Big Data Hadoop by Ashish
• 2,630 points
369 views
0 votes
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,510 points
2,386 views
0 votes
10 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
12,164 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,240 points
894 views
0 votes
1 answer
+1 vote
2 answers