hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praveen Sripati <praveensrip...@gmail.com>
Subject Re: Binary content
Date Fri, 02 Sep 2011 15:14:06 GMT
Mohit,

"Hadoop: The Definitive Guide" (Chapter 3 - Hadoop I/O) has a section on
SequenceFile and is worth reading.

http://oreilly.com/catalog/9780596521981

Thanks,
Praveen

On Thu, Sep 1, 2011 at 9:15 PM, Owen O'Malley <owen@hortonworks.com> wrote:

> On Thu, Sep 1, 2011 at 8:37 AM, Mohit Anchlia <mohitanchlia@gmail.com
> >wrote:
>
> Thanks! Is there a specific tutorial I can focus on to see how it could be
> > done?
> >
>
> Take the word count example and change its output format to be
> SequenceFileOutputFormat.
>
> job.setOutputFormatClass(SequenceFileOutputFormat.class);
>
> and it will generate SequenceFiles instead of text. There is
> SequenceFileInputFormat for reading.
>
> -- Owen
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message