In MapReduce how to change the name of the output file from part-r-00000?



In MapReduce how to change the name of the output file from part-r-00000?..

Answer / Virendra Kumar Singh

To change the name of the output file in a Hadoop MapReduce job, you can set the output path using FileOutputFormat.setOutputPath(JobContext context, Path output). You can then create a custom naming scheme for your output files.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MapReduce Interview Questions

What are ‘maps’ and ‘reduces’?

1 Answers  


What combiners are and when you should use a combiner in a mapreduce job?

1 Answers  


Is it legal to set the number of reducer task to zero? Where the output will be stored in this case?

1 Answers  


Can there be no Reducer?

1 Answers  


Explain the Reducer's Sort phase?

1 Answers  


When is it suggested to use a combiner in a MapReduce job?

1 Answers  


What is optimal size of a file for distributed cache?

1 Answers  


Explain slot in Hadoop Map-Reduce v1?

1 Answers  


Map reduce jobs are failing on a cluster that was just restarted. They worked before restart. What could be wrong?

1 Answers  


How to set the number of mappers to be created in MapReduce?

1 Answers  


what happens when Hadoop spawned 50 tasks for a job and one of the task failed?

1 Answers  


What do you mean by inputformat?

1 Answers  


Categories