Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> SequenceFile.Reader Example

Copy link to this message
Re: SequenceFile.Reader Example
Hey Dave,

You could check the TestSequenceFile sources:

One simple builder-API based reader example lies at ~606 presently,
and a simple writer example at ~583.

On Sat, Nov 17, 2012 at 7:39 PM, Dave Cardwell <[EMAIL PROTECTED]> wrote:
> I'm looking to read a sequence file in my mapper's configure() but all the
> examples I can find use the deprecated SequenceFile.Reader(FileSystem, Path,
> Configuration) syntax. Is anyone aware of (or able to provide) any sample
> code using the new SequenceFile.Reader(Configuration, Option…) syntax
> please?
> --
> Best wishes,
> Dave Cardwell.
> http://davecardwell.co.uk/

Harsh J