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

Allow mr commands to be run via bin/hadoop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.23.1
    • 0.23.1
    • mrv2
    • None

    Description

      MR command line options are not supported in bin/hadoop.

      bin/hadoop job
      Exception in thread "main" java.lang.NoClassDefFoundError: job
      Caused by: java.lang.ClassNotFoundException: job
              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: job.  Program will exit.
      

      A deprecated message like "DEPRECATED: Use of this script to execute mapred command is deprecated. Instead use the mapred command for it." should be displayed along with the correct output.

      Attachments

        1. MAPREDUCE-3605.patch
          1 kB
          Prashant Sharma

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rramya Ramya Sunil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: