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

The scheduler monitor policies conf should trim values separated by comma

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0
    • capacity scheduler
    • None

    Description

      When i configured scheduler monitor policies with space, the RM will start with error.

      The conf should support trim between "," , such as :

      "a,b,c" is supported now, but "a,   b,  c" is not supported now, just add trim in this jira.

       

      When tested multi policy, it happened.

       <property>
      <name>yarn.resourcemanager.scheduler.monitor.policies</name>
      <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.QueueConfigurationAutoRefreshPolicy,   org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.AutoCreatedQueueDeletionPolicy</value>
      </property>

       

      Attachments

        1. YARN-10682.001.patch
          1 kB
          Qi Zhu

        Activity

          People

            zhuqi Qi Zhu
            zhuqi Qi Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: