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.

Oozie Job fails :classnotfoundexception

Oozie Job fails :classnotfoundexception

Contributor

Hi ,

 

 

I am receiving following error when running oozie hive job from hue :

 

CTION[0000045-150331012333862-oozie-oozi-W@hivetesting] Launcher exception: java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.HiveMain not found
java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.HiveMain not found
	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2047)
	at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:225)
	at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:450)
	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:1642)
	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:163)
Caused by: java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.HiveMain not found
	at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:1953)
	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2045)
	... 9 more

 

 

Please help me in resolving this issue... 

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