Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
Labels (1)
avatar
Master Guru

SYMPTOM

Running java action via Oozie workflow fails with below error:

Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.JavaMain], main() threw exception, Could not find Yarn tags property (mapreduce.job.tags) 
java.lang.RuntimeException: Could not find Yarn tags property (mapreduce.job.tags) 
at org.apache.oozie.action.hadoop.LauncherMainHadoopUtils.getChildYarnJobs(LauncherMainHadoopUtils.java:52) 
at org.apache.oozie.action.hadoop.LauncherMainHadoopUtils.killChildYarnJobs(LauncherMainHadoopUtils.java:87) 
at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:44) 
at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:38) 
at org.apache.oozie.action.hadoop.JavaMain.main(JavaMain.java:36) 

.

ROOT CAUSE

Missing or Yarn related jar file conflict in Oozie sharelib.

.

RESOLUTION

Complete the following steps as oozie user in the Oozie node:

1. Recreate Oozie sharelib using below command

/usr/hdp/<hdp-version>/oozie/bin/oozie-setup.sh sharelib create -locallib /usr/hdp/<hdp-version>/oozie/oozie-sharelib.tar.gz -fs hdfs://<namenode-host>:8020 

2. Update Oozie sharelib using below command

oozie admin -oozie http://<oozie-host>:11000/oozie -sharelibupdate 

3. Restart oozie service using Ambari and resubmit the workflow.

.

Note - If you have put any custom jars in Oozie sharelib, please make sure to copy them back again after re-creating Oozie sharelib.

2,299 Views
Version history
Last update:
‎12-20-2016 02:18 PM
Updated by:
Contributors