You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Qi Zhu (Jira)" <ji...@apache.org> on 2021/03/17 09:41:00 UTC
[jira] [Commented] (YARN-10701) The yarn.resource-types should
support multi types without trimmed.
[ https://issues.apache.org/jira/browse/YARN-10701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17303233#comment-17303233 ]
Qi Zhu commented on YARN-10701:
-------------------------------
cc [~pbacsko] [~ebadger] [~epayne] [~gandras] [~bteke]
When i tested my cluster with more resource types, the above error happened. The yarn.resource-types should support multi types without trimmed, i will be reasonable.
Could you help review the fix?
Thanks.
> 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
> Attachments: YARN-10701.001.patch
>
>
> <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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org