how to change output file name part-r-00000 hadoop code example
Example 1: how to change output file name part-r-00000 hadoop
job.getConfiguration().set(“mapreduce.output.basename”, “20180318”);
Example 2: how to change output file name part-r-00000 hadoop
// job.setOutputFormatClass(TextOutputFormat.class);
LazyOutputFormat.setOutputFormatClass(job, TextOutputFormat.class);
MultipleOutputs.addNamedOutput(job,“20180318”, TextOutputFormat.class, Text.class, IntWritable.class);