hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Kimball <aa...@cloudera.com>
Subject Re: HDFS files naming convention
Date Sat, 25 Apr 2009 01:57:59 GMT
I think you can do this with MultiFileOutputFormat; specifically override
the getLeafFileName() method.
- Aaron

On Sat, Apr 25, 2009 at 4:29 AM, Parul Kudtarkar <
Parul_Kudtarkar@hms.harvard.edu> wrote:

>
> The HDFS files generated after mapreduce run are strored in HDFS as
> part-00000 and so on.....part-0000n
>
> Is it possible to name these output files stored in HDFS as per my own
> convention i.e. I would like to name these files my_file_1 and so
> on....my_files_n
>
> Please advice how this can be achieved?
>
> Thanks,
> Parul V. Kudtarkar
> --
> View this message in context:
> http://www.nabble.com/HDFS-files-naming-convention-tp23223348p23223348.html
> Sent from the Hadoop core-user mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message