Put your jar on Hadoop's classpath: $ HADOOP_CLASSPATH=path/to/shortdocwritables.jar hadoop fs -text bla bla....
- Aaron On Thu, May 27, 2010 at 11:07 AM, James Hammerton < james.hammer...@mendeley.com> wrote: > Hi, > > I tried using the "hadoop fs -text" command to read a sequence file > generated by a map reduce job and got the following error: > > text: java.io.IOException: WritableName can't load class: > com.mendeley.clusterer.title.ShortDocWritables > > The ShortDocWritables is a Writable I created myself and the sequencefile > contains these objects. How do I tell this command where to find the class? > > There was no trouble at all running the map reduce job that produced the > file. > > James > > -- > James Hammerton | Senior Data Mining Engineer > www.mendeley.com/profiles/james-hammerton > > Mendeley Limited | London, UK | www.mendeley.com > Registered in England and Wales | Company Number 6419015 > > > >