Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2889 Address remaining OYA issues
  3. OOZIE-2941

Old map-reduce workflow example can't work with OYA

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: workflow
    • Labels:
      None

      Description

      map-reduce workflow in Oozie examples run failed after OYA merged. The exception in yarn log is:
      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/mapred/Mapper
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at org.apache.oozie.action.hadoop.LauncherAM.getMainArguments(LauncherAM.java:540)
      at org.apache.oozie.action.hadoop.LauncherAM.run(LauncherAM.java:170)
      at org.apache.oozie.action.hadoop.LauncherAM.main(LauncherAM.java:148)
      Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.mapred.Mapper
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      ... 15 more

        Attachments

        1. RM_UI.jpg
          158 kB
          Dongying Jiao

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Dongying Jiao Dongying Jiao
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: