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

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.3.0
    • 2.6.0
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: