Hi Samir, File naming is defined in FileOutputFormat class and there is property mapreduce.output.basename which you can use to tweak things with file naming.
Please check this code http://grepcode.com/file/repository.cloudera.com/content/repositories/releases/com.cloudera.hadoop/hadoop-core/0.20.2-737/org/apache/hadoop/mapreduce/lib/output/FileOutputFormat.java#FileOutputFormat for more details (line 272). HTH Regards, Dino Kečo mail: [email protected] skype: dino.keco phone: +387 61 507 851 On Mon, Jun 3, 2013 at 11:34 AM, samir das mohapatra < [email protected]> wrote: > Hi all, > How to get the mapper output filename inside the the mapper . > > or > > How to change the mapper ouput file name. > Default it looks like part-m-00000,part-m-00001 etc. > > Regards, > samir. >
