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 Andiana Squazo Ringa <an...@gmail.com> on 2010/02/07 17:51:46 UTC

Doubt about SequenceFile.Writer

Hi,
   I have written to a sideeffect file using SequenceFile.Writer  . But when
I cat the file, it is printing some unreadable characters . I did not use
any compression code.
Why is this so?
Thanks,
Ringa.

Re: Doubt about SequenceFile.Writer

Posted by Ravi <ra...@gmail.com>.
Thanks a lot Jeff.

Ringa.


On Sun, Feb 7, 2010 at 10:30 PM, Jeff Zhang <zj...@gmail.com> wrote:

> The SequenceFile is not text file, so you can not see the content by
> invoking unix command cat.
> But you can get the text content by using hadoop command : hadoop fs -text
> <src>
>
>
> On Sun, Feb 7, 2010 at 8:51 AM, Andiana Squazo Ringa <
> andriana.ringa@gmail.com> wrote:
>
> > Hi,
> >   I have written to a sideeffect file using SequenceFile.Writer  . But
> when
> > I cat the file, it is printing some unreadable characters . I did not use
> > any compression code.
> > Why is this so?
> > Thanks,
> > Ringa.
> >
>
>
>
> --
> Best Regards
>
> Jeff Zhang
>

Re: Doubt about SequenceFile.Writer

Posted by Jeff Zhang <zj...@gmail.com>.
The SequenceFile is not text file, so you can not see the content by
invoking unix command cat.
But you can get the text content by using hadoop command : hadoop fs -text
<src>


On Sun, Feb 7, 2010 at 8:51 AM, Andiana Squazo Ringa <
andriana.ringa@gmail.com> wrote:

> Hi,
>   I have written to a sideeffect file using SequenceFile.Writer  . But when
> I cat the file, it is printing some unreadable characters . I did not use
> any compression code.
> Why is this so?
> Thanks,
> Ringa.
>



-- 
Best Regards

Jeff Zhang