You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Song Liu <la...@gmail.com> on 2010/02/28 22:26:46 UTC
Add File Header Using FileOutputFormat
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
Re: Add File Header Using FileOutputFormat
Posted by Jeff Zhang <zj...@gmail.com>.
write the header in setup method if you are using new hadoop API.
On Sun, Feb 28, 2010 at 1:26 PM, Song Liu <la...@gmail.com> 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