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

mapreduce examples jar is not built properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • examples
    • None

    Description

      When I try to build examples jar using "ant -Dresolvers=internal examples" in trunk, the jar created in build/ directory is of very small size, may be empty jar. And trying to run wordcount job gives the error:

      Exception in thread "main" java.lang.ClassNotFoundException: org.apache.hadoop.examples.ExampleDriver
      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 java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:247)
      at org.apache.hadoop.util.RunJar.main(RunJar.java:193)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ravidotg Ravi Gummadi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: