adspace
How to overwrite an existing output file/dir during execution of Hadoop MapReduce jobs?
Answer Posted / Shantanu Sharma
To overwrite an existing output file/dir during the execution of a Hadoop MapReduce job, you can set the 'mapred.job.reuse.jobid' configuration property to false before calling Job.waitForCompletion(). Setting this property to false allows the new job to overwrite any previous job with the same ID.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category