Does your sharelib  have  hive?

You can use admin command to list all available sharelib.

Command : $oozie admin -oozie http://localhost:11000/oozie -shareliblist


At each action you need to specify which sharelib you want to use. Since you 
are running as map-reduce, map-reduce action should have 
"oozie.action.sharelib.for.map-reduce=hive,” property.

<property>
   <name>oozie.action.sharelib.for.map-reduce</name>
    <value>hive<value>
 </property>


Thanks

From: "Heller, Chris" <[email protected]<mailto:[email protected]>>
Reply-To: <[email protected]<mailto:[email protected]>>
Date: Friday, February 21, 2014 at 12:27 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Question about using system lib path jars

I’m writing a custom mapper/reducer which internally uses a Hive serde for 
output. I have the Oozie shared libs located in HDFS in 
/user/${user.name}/oozie/share/lib, and have set oozie.use.system.libpath=true 
in my job configuration.

Still my job is failing because of missing dependencies.

I looked at the job configuration and noticed that the only system library 
added to the class path is oozie/json-simple-1.1.jar.

Does Oozie inspect what action nodes are in a workflow, and sub-set the class 
path based on need? Since this is a map-reduce job, I do not have any hive 
actions in the workflow.

-Chris

Reply via email to