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 in Big Data Hadoop by akhtar
• 10,580 points
30 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 by MD
• 23,050 points

Related Questions In Big Data Hadoop

0 votes
1 answer
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,380 points
775 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
• 10,920 points
5,087 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,920 points
724 views
+1 vote
11 answers

hadoop fs -put command?

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

answered Dec 7, 2018 in Big Data Hadoop by Aditya
30,124 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 in Big Data Hadoop by MD
• 23,050 points
45 views