Home Forums HDP 2.1 Technical Preview Oozie workflow Class Path issue

This topic contains 0 replies, has 1 voice, and was last updated by  chandra 2 months, 3 weeks ago.

  • Creator
    Topic
  • #56544

    chandra
    Participant

    Hi,
    I have downloaded the HDP 2.1 from Horton site, when i try to run the Oozie , getting below error:

    2014-06-26 10:26:34,992 WARN MapReduceActionExecutor:542 – USER[root] GROUP[-] TOKEN[] APP[map-reduce-wf] JOB[0000001-140626101717369-oozie-root-W] ACTION[0000001-140626101717369-oozie-root-W@mr-node] Launcher ERROR, reason: Main class [org.apache.oozie.action.hadoop.MapReduceMain], exception invoking main(), org/apache/oozie/action/hadoop/JavaMainException
    2014-06-26 10:26:34,998 WARN MapReduceActionExecutor:542 – USER[root] GROUP[-] TOKEN[] APP[map-reduce-wf] JOB[0000001-140626101717369-oozie-root-W] ACTION[0000001-140626101717369-oozie-root-W@mr-node] Launcher exception: org/apache/oozie/action/hadoop/JavaMainException
    java.lang.NoClassDefFoundError: org/apache/oozie/action/hadoop/JavaMainException
    at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:231)
    at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
    at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:430)
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:342)
    at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:167)
    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:1557)
    at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
    Caused by: java.lang.ClassNotFoundException: org.apache.oozie.action.hadoop.JavaMainException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    … 9 more

    I have started the oozie server with the user ‘root’ and oozie job also executed with the user ‘oozie’.

    java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.JavaMain not found

    Any idea whats the solution here?

    thanks
    Chandra

You must be logged in to reply to this topic.