|
|
-
Doubt about SequenceFile.Writer
Andiana Squazo Ringa 2010-02-07, 16:51
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
Jeff Zhang 2010-02-07, 17:00
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 < [EMAIL PROTECTED]> 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
Ravi 2010-02-07, 17:03
Thanks a lot Jeff.
Ringa. On Sun, Feb 7, 2010 at 10:30 PM, Jeff Zhang <[EMAIL PROTECTED]> 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 < > [EMAIL PROTECTED]> 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 >
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext