By following 2 ways we can change the name of output file from part-r-00000:
1. Using a Java class that derives from MultipleOutputFormat as the jobs output format allows control of the output file names.
// job.setOutputFormatClass(TextOutputFormat.class);
LazyOutputFormat.setOutputFormatClass(job, TextOutputFormat.class);
MultipleOutputs.addNamedOutput(job,“text”, TextOutputFormat.class,
Text.class, IntWritable.class);
2. Using (this I have tested and working)
job.getConfiguration().set(“mapreduce.output.basename”, “text”);
part name will change and file will be created as text-r-00000
For more details, please follow: MapReduce Tutorial