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

Switch to Threaded View
Hadoop, mail # user - Add File Header Using FileOutputFormat


Copy link to this message
-
Re: Add File Header Using FileOutputFormat
Jeff Zhang 2010-03-01, 01:00
write the header in setup method if you are using new hadoop API.
On Sun, Feb 28, 2010 at 1:26 PM, Song Liu <[EMAIL PROTECTED]> wrote:

> Hi all!
> I'm using hadoop to make huge weka learning files. As you know,  weka file
> (ARFF) has some speicial file headers. Is there a way for me to add it at
> the beginning of the file using FileOutputFormat? If so, how can I do that?
>
> Thanks!
>
> Regards
> Song Liu
>

--
Best Regards

Jeff Zhang