Hadoop Common
  1. Hadoop Common
  2. HADOOP-7941

NoClassDefFoundError while running distcp/archive

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.23.1
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None

      Description

      bin/hadoop distcp

      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/tools/DistCp
      Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.tools.DistCp
              at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      Could not find the main class: org.apache.hadoop.tools.DistCp.  Program will exit.
      
      

      Same is the case while running 'bin/hadoop archive'

        Activity

        Hide
        Harsh J added a comment -

        Doesn't seem to be a problem anymore, both hadoop and mapred scripts are running these fine.

        Resolving as Cannot Reproduce (anymore).

        Show
        Harsh J added a comment - Doesn't seem to be a problem anymore, both hadoop and mapred scripts are running these fine. Resolving as Cannot Reproduce (anymore).

          People

          • Assignee:
            Unassigned
            Reporter:
            Ramya Sunil
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development