Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10095

Fix help message for yarn rmadmin

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      (This issue is identified by Akira Ajisaka in https://issues.apache.org/jira/browse/HADOOP-16753)

      The help message of yarn rmadmin seems broken.

      Current:  

      $ yarn rmadmin -Dyarn.resourcemanager.ha.enabled=true -help -refreshNodesResources
      Usage: yarn rmadmin [-refreshNodesResources]
      
      Generic options supported are:
      -conf <configuration file>        specify an application configuration file
      -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.
      -jt <local|resourcemanager:port>  specify a ResourceManager
      -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
      
      The general command line syntax is:
      command [genericOptions] [commandOptions]
      

       

      Expected: 

      $ yarn rmadmin -Dyarn.resourcemanager.ha.enabled=true -help -refreshNodesResources 
      Usage: yarn rmadmin [-refreshNodesResources]
      
         -refreshNodesResources: Refresh resources of NodeManagers at the ResourceManager.    <==== HERE
      
      Generic options supported are:
      -conf <configuration file>        specify an application configuration file
      -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.
      -jt <local|resourcemanager:port>  specify a ResourceManager
      -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
      
      The general command line syntax is: 
      command [genericOptions] [commandOptions]
      

       

       

        Attachments

        1. YARN-10095.000.patch
          8 kB
          Xieming Li

          Activity

            People

            • Assignee:
              risyomei Xieming Li
              Reporter:
              risyomei Xieming Li
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: