Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3417

JobClient should not have a static configuration for cli parsing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.17.0
    • Fix Version/s: 0.18.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Hide
      Removed the public class org.apache.hadoop.mapred.JobShell.
      Command line options -libjars, -files and -archives are moved to GenericCommands. Thus applications have to implement org.apache.hadoop.util.Tool to use the options.
      Show
      Removed the public class org.apache.hadoop.mapred.JobShell. Command line options -libjars, -files and -archives are moved to GenericCommands. Thus applications have to implement org.apache.hadoop.util.Tool to use the options.

      Description

      HADOOP-1622 introduced a static configuration variable into JobClient that prevents it from being used by multiple threads. Furthermore, the cli processing that HADOOP-1622 added should be in the GenericOptionParser instead of JobShell so that all of the implementations of Tool can use them.

        Attachments

        1. patch-3417.txt
          30 kB
          Amareshwari Sriramadasu

          Activity

            People

            • Assignee:
              amareshwari Amareshwari Sriramadasu
              Reporter:
              owen.omalley Owen O'Malley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: