Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3869

Distributed shell application fails with NoClassDefFoundError

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.1
    • Fix Version/s: 2.0.0-alpha
    • Component/s: mrv2
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Distributed shell application always fails to start the application master with the following error.

      12/02/16 05:35:25 FATAL distributedshell.ApplicationMaster: Error running ApplicationMaster
      java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/ipc/YarnRPC
      	at org.apache.hadoop.yarn.applications.distributedshell.ApplicationMaster.<init>(ApplicationMaster.java:252)
      	at org.apache.hadoop.yarn.applications.distributedshell.ApplicationMaster.main(ApplicationMaster.java:195)
      Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.yarn.ipc.YarnRPC
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
      	... 2 more
      
      1. MAPREDUCE-3869.patch
        1 kB
        Devaraj K
      2. MAPREDUCE-3869-1.patch
        2 kB
        Devaraj K
      3. MAPREDUCE-3869-2.patch
        2 kB
        Devaraj K

        Issue Links

          Activity

          Devaraj K created issue -
          Devaraj K made changes -
          Field Original Value New Value
          Attachment MAPREDUCE-3869.patch [ 12514783 ]
          Devaraj K made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Vinod Kumar Vavilapalli made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Affects Version/s 0.23.1 [ 12318883 ]
          Affects Version/s 0.24.0 [ 12317654 ]
          Affects Version/s 0.23.2 [ 12319851 ]
          Fix Version/s 0.23.2 [ 12319851 ]
          Devaraj K made changes -
          Attachment MAPREDUCE-3869-1.patch [ 12518022 ]
          Devaraj K made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Devaraj K made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Devaraj K made changes -
          Attachment MAPREDUCE-3869-2.patch [ 12518171 ]
          Devaraj K made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Siddharth Seth made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 2.0.0 [ 12320354 ]
          Fix Version/s 0.23.2 [ 12319851 ]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Jason Lowe made changes -
          Link This issue is related to YARN-144 [ YARN-144 ]

            People

            • Assignee:
              Devaraj K
              Reporter:
              Devaraj K
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development