Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

OozieLauncherInputFormat classnot found exception

OozieLauncherInputFormat classnot found exception

Contributor
After cluster upgraded from HDP 2.1 to HDP 2.3, oozie service check is throwing below error, any help would be appreciated.




2016-06-01 13:01:22,232 INFO [IPC Server handler 0 on 33365] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Progress of TaskAttempt attempt_1464747307517_0038_m_000000_0 is : 0.0
2016-06-01 13:01:22,249 FATAL [IPC Server handler 2 on 33365] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Task: attempt_1464747307517_0038_m_000000_0 - exited : java.io.IOException: Split class org.apache.oozie.action.hadoop.OozieLauncherInputFormat$EmptySplit not found
	at org.apache.hadoop.mapred.MapTask.getSplitDetails(MapTask.java:363)
	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:426)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
Caused by: java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.OozieLauncherInputFormat$EmptySplit not found
	at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2101)
	at org.apache.hadoop.mapred.MapTask.getSplitDetails(MapTask.java:361)
	... 7 more

2016-06-01 13:01:22,249 INFO [IPC Server handler 2 on 33365] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Diagnostics report from attempt_1464747307517_0038_m_000000_0: Error: java.io.IOException: Split class org.apache.oozie.action.hadoop.OozieLauncherInputFormat$EmptySplit not found
	at org.apache.hadoop.mapred.MapTask.getSplitDetails(MapTask.java:363)
	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:426)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
Caused by: java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.OozieLauncherInputFormat$EmptySplit not found
	at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2101)
	at org.apache.hadoop.mapred.MapTask.getSplitDetails(MapTask.java:361) 

... 7 more

4 REPLIES 4
Highlighted

Re: OozieLauncherInputFormat classnot found exception

Guru

This points to a sharelib issue. See if

/usr/hdp/current/oozie/bin/oozie-setup.sh sharelib

steps upgrade guide are followed.

You can take a look at http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_upgrading_hdp_manually/content/start-oozi... in case you are following different steps.

Highlighted

Re: OozieLauncherInputFormat classnot found exception

Contributor

I tried now, same results.

Highlighted

Re: OozieLauncherInputFormat classnot found exception

Explorer

I'm getting the same thing on a fresh install of HDP 2.5.

Job fails with:

2016-10-25 13:52:19,312 FATAL [IPC Server handler 2 on 42230] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Task: attempt_1476904741845_0016_m_000000_0 - exited : java.io.IOException: Split class org.apache.oozie.action.hadoop.OozieLauncherInputFormat$EmptySplit not found
	at org.apache.hadoop.mapred.MapTask.getSplitDetails(MapTask.java:363)
	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:426)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
	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:1724)
	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
Caused by: java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.OozieLauncherInputFormat$EmptySplit not found
	at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2114)
	at org.apache.hadoop.mapred.MapTask.getSplitDetails(MapTask.java:361)
	... 7 more

As far as I can tell, ShareLib is properly configured:

oozie admin -shareliblist
[Available ShareLib]
hive
distcp
mapreduce-streaming
spark
oozie
hcatalog
hive2
sqoop
pig
spark_orig

Any ideas? This is driving me a little nuts.

Thanks,

JP

Highlighted

Re: OozieLauncherInputFormat classnot found exception

Contributor

Most likely sharelib was not created or broken due to incorrect HDFS permission. RESOLUTION: Recreated sharelib

Don't have an account?
Coming from Hortonworks? Activate your account here