Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3869

Distributed shell application fails with NoClassDefFoundError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.23.1
    • 2.0.0-alpha
    • mrv2
    • None
    • 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
      

      Attachments

        1. MAPREDUCE-3869.patch
          1 kB
          Devaraj Kavali
        2. MAPREDUCE-3869-1.patch
          2 kB
          Devaraj Kavali
        3. MAPREDUCE-3869-2.patch
          2 kB
          Devaraj Kavali

        Issue Links

          Activity

            People

              devaraj Devaraj Kavali
              devaraj Devaraj Kavali
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: