[
https://issues.apache.org/jira/browse/YARN-10701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Szilard Nemeth updated YARN-10701:
----------------------------------
Description:
{code:java}
<configuration>
<property>
<name>yarn.resource-types</name>
<value>yarn.io/gpu, yarn.io/fpga</value>
</property>
</configuration>{code}
When i configured the resource type above with gpu and fpga, the error
happened:
{code:java}
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.{code}
The resource types should support trim.
was:
{code:java}
<configuration>
<property>
<name>yarn.resource-types</name>
<value>yarn.io/gpu, yarn.io/fpga</value>
</property>
</configuration>{code}
When i configured the resource type above with gpu and fpga, the error happend:
{code:java}
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.{code}
The resource types should support trim.
> The yarn.resource-types should support multi types without trimmed.
> -------------------------------------------------------------------
>
> Key: YARN-10701
> URL: https://issues.apache.org/jira/browse/YARN-10701
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Qi Zhu
> Assignee: Qi Zhu
> Priority: Major
> Fix For: 3.4.0, 3.3.1
>
> Attachments: YARN-10701-branch-3.3.001.patch, YARN-10701.001.patch,
> YARN-10701.002.patch
>
>
> {code:java}
> <configuration>
> <property>
> <name>yarn.resource-types</name>
> <value>yarn.io/gpu, yarn.io/fpga</value>
> </property>
> </configuration>{code}
> When i configured the resource type above with gpu and fpga, the error
> happened:
>
> {code:java}
> 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.{code}
>
> The resource types should support trim.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]