Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Re: How to get the intermediate mapper output file name


Copy link to this message
-
Re: How to get the intermediate mapper output file name
Thanks Dino , good to know this.
On Mon, Jun 3, 2013 at 3:12 PM, Dino Kečo <[EMAIL PROTECTED]> wrote:

> 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.
>>
>
>