Mapreduce problem with output part file

0 votes

I am trying to get the output part file in my local disk. And as I already have another part file in the outputdir it's not allowing me. I have deleted the old one and then tried but not successful yet. Please let me know how to get it

please see the image

image.png

Feb 7, 2019 in Big Data Hadoop by Neervi
78 views

1 answer to this question.

0 votes

As the error suggests and you have already noticed, the file is already present in your local directory. Because of this, you can not store the output part file in the same directory. You will have to store the output part file in a different directory. Try this:

mkdir new
cd new
hadoop dfs -get /outputdir/part-r-00000

answered Feb 7, 2019 by Omkar
• 68,860 points

Related Questions In Big Data Hadoop

0 votes
0 answers

about sequence file in hadoop and mapreduce.everything about it with examples

May 20, 2019 in Big Data Hadoop by anonymous

closed May 20, 2019 by Omkar 33 views
0 votes
1 answer

The file exists before processing with hadoop command

Took session and it got resolved. READ MORE

answered Dec 18, 2017 in Big Data Hadoop by Sudhir
• 1,610 points
103 views
0 votes
1 answer

How do I parse pdf file using MapReduce?

If you have your own custom InputFormat(WholeFileInputFormat). ...READ MORE

answered Apr 11, 2018 in Big Data Hadoop by Shubham
• 13,370 points
263 views
0 votes
1 answer

Getting error in Hadoop: Output file already exist

When you executed your code earlier, you ...READ MORE

answered Apr 19, 2018 in Big Data Hadoop by Shubham
• 13,370 points
1,913 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,887 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
533 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,615 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,457 views
0 votes
1 answer

Hadoop: How to Group mongodb - mapReduce output?

db.order.mapReduce(function() { emit (this.customer,{count:1,orderDate:this.orderDate.interval_start}) }, function(key,values){ var category; ...READ MORE

answered Oct 31, 2018 in Big Data Hadoop by Omkar
• 68,860 points
128 views
0 votes
1 answer

In Hadoop MapReduce, how can i set an Object as the Value for Map output?

Try this and see if it works: public ...READ MORE

answered Nov 20, 2018 in Big Data Hadoop by Omkar
• 68,860 points
51 views