Oozie workflow Class Path issue

This topic contains 0 replies, has 1 voice, and was last updated by  chandra 7 months 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

The forum ‘HDP 2.1 Technical Preview’ is closed to new topics and replies.

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.