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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: capacity scheduler
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: