|
|
-
Re: Custom Seq File Loader: ClassNotFoundExceptionmadhu phatak 2012-03-05, 05:55
Hi,
Please make sure that your CustomWritable has a default constructor. On Sat, Mar 3, 2012 at 4:56 AM, Mark question <[EMAIL PROTECTED]> 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/ |