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 |
What are ‘maps’ and ‘reduces’?
What combiners are and when you should use a combiner in a mapreduce job?
Is it legal to set the number of reducer task to zero? Where the output will be stored in this case?
Can there be no Reducer?
Explain the Reducer's Sort phase?
When is it suggested to use a combiner in a MapReduce job?
What is optimal size of a file for distributed cache?
Explain slot in Hadoop Map-Reduce v1?
Map reduce jobs are failing on a cluster that was just restarted. They worked before restart. What could be wrong?
How to set the number of mappers to be created in MapReduce?
what happens when Hadoop spawned 50 tasks for a job and one of the task failed?
What do you mean by inputformat?
Apache Hadoop (394)
MapReduce (354)
Apache Hive (345)
Apache Pig (225)
Apache Spark (991)
Apache HBase (164)
Apache Flume (95)
Apache Impala (72)
Apache Cassandra (392)
Apache Mahout (35)
Apache Sqoop (82)
Apache ZooKeeper (65)
Apache Ambari (93)
Apache HCatalog (34)
Apache HDFS Hadoop Distributed File System (214)
Apache Kafka (189)
Apache Avro (26)
Apache Presto (15)
Apache Tajo (26)
Hadoop General (407)