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

Make mapreduce specific GenericOptionsParser arguments optional

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      org.apache.hadoop.util.GenericOptionsParser is widely used to use common arguments in all the command line applications.

      Some of the common arguments are really generic:

      -D <property=value>               define a value for a given property
      -fs <file:///|hdfs://namenode:port> specify default filesystem URL to use, overrides 'fs.defaultFS' property from configurations.
      -libjars <jar1,...>               specify a comma-separated list of jar files to be included in the classpath
      

      But some are mapreduce specific:

      -jt <local|resourcemanager:port>  specify a ResourceManager
      -archives <archive1,...>          specify a comma-separated list of archives to be unarchived on the compute machines
      

      In the review of HDFS-12588 it was suggested to remove/turn off the mapreduce specific arguments if they are not required (for example in case of starting namenode or datanode).

      Attachments

        Activity

          People

            Unassigned Unassigned
            elek Marton Elek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: