Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (1)
Super 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.

805 Views
Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎12-20-2016 02:18 PM
Updated by:
 
Contributors
Top Kudoed Authors