Jason, this is awesome, thank you.
By the way, is there a book or manual with "best practices?"

On Mon, Jan 26, 2009 at 3:13 PM, jason hadoop <[email protected]>wrote:

> Sequence files rock, and you can use the
> *
> bin/hadoop dfs -text FILENAME* command line tool to get a toString level
> unpacking of the sequence file key,value pairs.
>
> If you provide your own key or value classes, you will need to implement a
> toString method to get some use out of this. Also, your class path will
> need
> to include the jars with your custom key/value classes.
>
> HADOOP_CLASSPATH="myjar1;myjar2..." *bin/hadoop dfs -text FILENAME*
>
>
> On Mon, Jan 26, 2009 at 1:08 PM, Mark Kerzner <[email protected]>
> wrote:
>
> > Thank you, Doug, then all is clear in my head.
> > Mark
> >
> > On Mon, Jan 26, 2009 at 3:05 PM, Doug Cutting <[email protected]>
> wrote:
> >
> > > Mark Kerzner wrote:
> > >
> > >> Okay, I am convinced. I only noticed that Doug, the originator, was
> not
> > >> happy about it - but in open source one has to give up control
> > sometimes.
> > >>
> > >
> > > I think perhaps you misunderstood my remarks.  My point was that, if
> you
> > > looked to Nutch's Content class for an example, it is, for historical
> > > reasons, somewhat more complicated than it needs to be and is thus a
> less
> > > than perfect example.  But using SequenceFile to store web content is
> > > certainly a best practice and I did not mean to imply otherwise.
> > >
> > > Doug
> > >
> >
>

Reply via email to