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

Make generic options help more consistent, and aligned

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 2.9.0, 3.0.0-alpha2
    • None
    • None

    Description

      The generic options have always been this:

      Generic options supported are
      -conf <configuration file>     specify an application configuration file
      -D <property=value>            use value for given property
      -fs <local|namenode:port>      specify a namenode
      -jt <local|resourcemanager:port>    specify a ResourceManager
      -files <comma separated list of files>    specify comma separated files to be copied to the map reduce cluster
      -libjars <comma separated list of jars>    specify comma separated jar files to include in the classpath.
      -archives <comma separated list of archives>    specify comma separated archives to be unarchived on the compute machines.
      
      The general command line syntax is
      bin/hadoop command [genericOptions] [commandOptions]
      

      However, almost all the hadoop command help follow an unwritten style which is similar to man page descriptions.
      This is the proposed improvement.

      Generic options supported are:
      -conf <configuration file>     specify an application configuration file
      -D <property=value>            define a value for given property
      -fs <local|namenode:port>      specify a namenode
      -jt <local|jobtracker:port>    specify a job tracker
      -files <file1,...>             specify a comma-separated list of files to be copied to the map reduce cluster
      -libjars <jar1,...>            specify a comma-separated list of jar files to be included in the classpath
      -archives <archive1,...>       specify a comma-separated list of archives to be unarchived on the compute machines
      

      Attachments

        1. HADOOP-13802.1.patch
          3 kB
          Grant Sohn
        2. HADOOP-13802.2.patch
          2 kB
          Grant Sohn
        3. HADOOP-13802.3.patch
          3 kB
          Grant Sohn
        4. HADOOP-13802.4.patch
          3 kB
          Mingliang Liu

        Issue Links

          Activity

            People

              gsohn Grant Sohn
              gsohn Grant Sohn
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: