AnsweredAssumed Answered

pig and custom jars

Question asked by jonas_hartwig on Jan 23, 2013
Latest reply on Jan 24, 2013 by gera
Hi, I want to run a native map-reduce job in pig. It is supposed to load an avro file. Therefore it needs the library avro-1.7.0.jar. I included it using the register statement: <br/>
REGISTER .../avro-1.7.0.jar;<br/>
But still I get the following error:<br/>
Error: java.lang.ClassNotFoundException: org.apache.avro.mapred.AvroWrapper<br/>
I get the same error when i try to run the mr job with hadoop only using the libjars option.

Any ideas?

Jonas

Outcomes