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

The yarn.resource-types should support multi types without trimmed.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0, 3.3.1
    • Component/s: None
    • Labels:
      None

      Description

      <configuration>
       <property>
       <name>yarn.resource-types</name>
       <value>yarn.io/gpu, yarn.io/fpga</value>
       </property>
       </configuration>

      When i configured the resource type above with gpu and fpga, the error happend:

       

      org.apache.hadoop.yarn.exceptions.YarnRuntimeException: ' yarn.io/fpga' is not a valid resource name. A valid resource name must begin with a letter and contain only letters, numbers, and any of: '.', '_', or '-'. A valid resource name may also be optionally preceded by a name space followed by a slash. A valid name space consists of period-separated groups of letters, numbers, and dashes.

       
      The resource types should support trim.

        Attachments

        1. YARN-10701.001.patch
          3 kB
          Qi Zhu
        2. YARN-10701.002.patch
          2 kB
          Qi Zhu
        3. YARN-10701-branch-3.3.001.patch
          2 kB
          Qi Zhu

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: