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

Typo in description and error message for 'yarn.resourcemanager.cluster-id'

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:

      Description

      1. In yarn-default.xml

      <property>
          <description>Name of the cluster. In a HA setting,
            this is used to ensure the RM participates in leader
            election fo this cluster and ensures it does not affect
            other clusters</description>
          <name>yarn.resourcemanager.cluster-id</name>
          <!--value>yarn-cluster</value-->
        </property>
      

      Here the line 'election fo this cluster and ensures it does not affect' should be replaced with 'election for this cluster and ensures it does not affect'.

      2.

      org.apache.hadoop.HadoopIllegalArgumentException: Configuration doesn't specifyyarn.resourcemanager.cluster-id
      	at org.apache.hadoop.yarn.conf.YarnConfiguration.getClusterId(YarnConfiguration.java:1336)
      

      In the above exception message, it is missing a space between message and configuration name.

        Attachments

        1. YARN-1918.1.patch
          2 kB
          Anandha L Ranganathan

          Activity

            People

            • Assignee:
              analog.sony Anandha L Ranganathan
              Reporter:
              devaraj Devaraj Kavali
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: