Support Questions

Find answers, ask questions, and share your expertise

Error Oozie Workflow

avatar

When i try to execute anyone type of job in workflow manager i have the same error:

017-10-26 16:49:46,682 INFO [main] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Created MRAppMaster for application appattempt_1509041364763_0004_000002
2017-10-26 16:49:47,060 WARN [main] org.apache.hadoop.util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
2017-10-26 16:49:47,098 INFO [main] org.apache.hadoop.security.SecurityUtil: Updating Configuration
2017-10-26 16:49:47,110 INFO [main] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Executing with tokens:
2017-10-26 16:49:47,110 INFO [main] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Kind: YARN_AM_RM_TOKEN, Service: , Ident: (appAttemptId { application_id { id: 4 cluster_timestamp: 1509041364763 } attemptId: 2 } keyId: 218153851)
2017-10-26 16:49:47,418 INFO [main] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Kind: RM_DELEGATION_TOKEN, Service: 10.0.0.73:8050, Ident: (owner=admin, renewer=oozie mr token, realUser=oozie, issueDate=1509043779741, maxDate=1509648579741, sequenceNumber=13, masterKeyId=36)
2017-10-26 16:49:47,439 INFO [main] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: OutputCommitter set in config org.apache.oozie.action.hadoop.OozieLauncherOutputCommitter
2017-10-26 16:49:47,441 INFO [main] org.apache.hadoop.service.AbstractService: Service org.apache.hadoop.mapreduce.v2.app.MRAppMaster failed in state INITED; cause: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.OozieLauncherOutputCommitter not found
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.OozieLauncherOutputCommitter not found
	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2273)
	at org.apache.hadoop.mapreduce.v2.app.MRAppMaster$2.call(MRAppMaster.java:524)
	at org.apache.hadoop.mapreduce.v2.app.MRAppMaster$2.call(MRAppMaster.java:501)
	at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.callWithJobClassLoader(MRAppMaster.java:1640)
	at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.createOutputCommitter(MRAppMaster.java:501)
	at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.serviceInit(MRAppMaster.java:287)
	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
	at org.apache.hadoop.mapreduce.v2.app.MRAppMaster$5.run(MRAppMaster.java:1598)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
	at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.initAndStartAppMaster(MRAppMaster.java:1595)
	at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.main(MRAppMaster.java:1526)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.OozieLauncherOutputCommitter not found
	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2241)
	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2265)
	... 12 more
Caused by: java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.OozieLauncherOutputCommitter not found
	at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2147)
	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2239)
	... 13 more
1 ACCEPTED SOLUTION

avatar

I delete my paste /user/oozie/share/lib/*/ and recreate te sharelib again

View solution in original post

2 REPLIES 2

avatar

I delete my paste /user/oozie/share/lib/*/ and recreate te sharelib again

avatar
Master Mentor

yes looks like you figured it out, the class is coming from sharelib/oozie https://github.com/apache/oozie/blob/master/sharelib/oozie/src/main/java/org/apache/oozie/action/had... and you probably were missing oozie directory within sharelib.