hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark question <markq2...@gmail.com>
Subject Re: Custom Seq File Loader: ClassNotFoundException
Date Mon, 05 Mar 2012 17:58:41 GMT
Hi Madhu, it has the following line:

TermDocFreqArrayWritable () {}

but I'll try it with "public" access in case it's been called outside of my
package.

Thank you,
Mark

On Sun, Mar 4, 2012 at 9:55 PM, madhu phatak <phatak.dev@gmail.com> wrote:

> Hi,
>  Please make sure that your CustomWritable has a default constructor.
>
> On Sat, Mar 3, 2012 at 4:56 AM, Mark question <markq2011@gmail.com> wrote:
>
> > Hello,
> >
> >   I'm trying to debug my code through eclipse, which worked fine with
> > given Hadoop applications (eg. wordcount), but as soon as I run it on my
> > application with my custom sequence input file/types, I get:
> > Java.lang.runtimeException.java.ioException (Writable name can't load
> > class)
> > SequenceFile$Reader.getValeClass(Sequence File.class)
> >
> > because my valueClass is customed. In other words, how can I add/build my
> > CustomWritable class to be with hadoop LongWritable,IntegerWritable ....
> > etc.
> >
> > Did anyone used eclipse?
> >
> > Mark
> >
>
>
>
> --
> Join me at http://hadoopworkshop.eventbrite.com/
>

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