main java io IOException Mkdirs failed to create user hadoop name

0 votes

Hi Guys,

I am trying to run a simple word count program in Hadoop, but I am getting the below error.

 exception in the thread "main" java.io.IOException: Mkdirs failed to create /user/hadoop/name
Apr 17, 2020 in Big Data Hadoop by akhtar
• 38,180 points
653 views

1 answer to this question.

0 votes

Hi@akhtar,

 I think you missed to add below property in mapred-site.xml file. So, add this property and try once again.

<property>
    <name>mapreduce.jobtracker.address</name>
    <value>localhost:9000</value>
</property>

Hope this will solve your error.

answered Apr 17, 2020 by MD
• 95,140 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Hadoop: java.io.IOException: File could only be replicated to 0 nodes instead of minReplication (=1)

Try this, first stop all the daemons, ...READ MORE

answered Nov 6, 2018 in Big Data Hadoop by Omkar
• 69,110 points
1,739 views
0 votes
1 answer

Hadoop giving java.io.IOException, in mkdir Java code.

I am not sure about the issue. ...READ MORE

answered May 3, 2018 in Big Data Hadoop by Shubham
• 13,480 points
1,236 views
0 votes
1 answer
+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
• 11,380 points
7,107 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
• 11,380 points
1,141 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
51,541 views
0 votes
1 answer

java.io.IOException: File /user/hadoop/ could only be replicated to 0 nodes, instead of 1

Hi@akhtar, To avoid this error, follow the bellow ...READ MORE

answered Apr 17, 2020 in Big Data Hadoop by MD
• 95,140 points
286 views