For a simpler use case, something similar to following should work- public class PigSequenceFileLoader extends PigStorage {
@SuppressWarnings("rawtypes") @Override public InputFormat getInputFormat() { return new SequenceFileInputFormat<ByteWritable, Text>(); } } Thanks, Aniket On Thu, Sep 13, 2012 at 1:24 PM, Dmitriy Ryaboy <dvrya...@gmail.com> wrote: > Install protocol buffers 2.3 and thrift 0.5 > > From the readme: > > Protocol Buffer and Thrift compiler dependencies > Elephant Bird requires Protocol Buffer compiler version 2.3 at build > time, as generated classes are used internally. Thrift compiler is > required to generate classes used in tests. As these are native-code > tools they must be installed on the build machine (java library > dependencies are pulled from maven repositories during the build). > > > > D > > On Wed, Sep 12, 2012 at 9:01 PM, Mohit Anchlia <mohitanch...@gmail.com> > wrote: > > I got this error when I ran mvn package > > > > [ERROR] Failed to execute goal > > com.github.igor-petruk.protobuf:protobuf-maven-pl > > ugin:0.4:run (default) on project elephant-bird-core: Unable to find > > 'protoc' -> > > [Help 1] > > [ERROR] > > > > On Tue, Sep 11, 2012 at 4:24 PM, Mohit Anchlia <mohitanch...@gmail.com > >wrote: > > > >> Thanks! I'll try it out. > >> > >> > >> On Tue, Sep 11, 2012 at 4:21 PM, Dmitriy Ryaboy <dvrya...@gmail.com > >wrote: > >> > >>> Yup: > >>> https://github.com/kevinweil/elephant-bird > >>> > >>> D > >>> > >>> On Tue, Sep 11, 2012 at 4:00 PM, Mohit Anchlia <mohitanch...@gmail.com > > > >>> wrote: > >>> > Is it the code that I checkout and build? > >>> > > >>> > On Tue, Sep 11, 2012 at 3:27 PM, Dmitriy Ryaboy <dvrya...@gmail.com> > >>> wrote: > >>> > > >>> >> Try the one in Elephant-Bird. > >>> >> > >>> >> On Tue, Sep 11, 2012 at 11:22 AM, Mohit Anchlia < > >>> mohitanch...@gmail.com> > >>> >> wrote: > >>> >> > Is there a way to read BytesWritable using sequence file loader > from > >>> >> > piggybank? If not then how should I go about implementing one? > >>> >> > >>> > >> > >> > -- "...:::Aniket:::... Quetzalco@tl"