i'm not familiar with the hw oozie setup, but if you put the lzo jar in the 
same dirs the oozie-core jar is, it should work. 

if not i'd suggest reaching out the hw alias for their recommended way of doing 
it

thx 

Alejandro
(phone typing)

On Aug 8, 2013, at 6:10, w00t w00t <[email protected]> wrote:

> Hello,
> I ran Hortonworks' Sandbox 1.2 and used Oozie successfully to run Java MR, 
> Pig and Hive jobs.
> 
> Then I installed Lzo support which now seems to break my Oozie.
> I adjusted core-site.xml in the following way:
>   <property>
>     <name>io.compression.codecs</name>   
> <value>org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.DefaultCodec,com.hadoop.compression.lzo.LzoCodec,com.hadoop.compression.lzo.LzopCodec,org.apache.hadoop.io.compress.BZip2Codec</value>
>   </property>
>   <property>
>     <name>io.compression.codec.lzo.class</name>
>     <value>com.hadoop.compression.lzo.LzoCodec</value>
>   </property>
> 
> 
> I now have the same situation as documented here:
> http://mapredit.blogspot.com/2013/02/lzo-compression-with-oozie.html
> 
> Oozie can't start any MR jobs and reports:
> ClassNotFound error (java.lang.ClassNotFoundException: Class 
> com.hadoop.compression.lzo.LzoCodec not found)
> 
> I am not sure where to place /usr/lib/hadoop/lib/hadoop-lzo-0.5.0.jar... I 
> tried several things but was not successful..
> 
> I read that it needs to be put into /var/lib/oozie.
> I am not sure whether this is the right location as there is the following 
> directory strucuture:
> /var/lib/oozie/oozie-server
> /var/lib/oozie/oozie-server/conf
> /var/lib/oozie/oozie-server/webapps
> /var/lib/oozie/oozie-server/work
> 
> => seems for me to be the Oozie Tomcat application.
> 
> Another possible location is /usr/lib/oozie/lib.
> But again, putting the jar here and restarting Oozie did not solve the 
> problem.
> 
> Can you help me to fix this problem?
> 
> I appreciate any help.

Reply via email to