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 "Eric Payne (Jira)" <ji...@apache.org> on 2020/10/02 18:35:00 UTC
[jira] [Commented] (YARN-10451) RM (v1) UI NodesPage can NPE when
yarn.io/gpu resource type is defined.
[ https://issues.apache.org/jira/browse/YARN-10451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17206398#comment-17206398 ]
Eric Payne commented on YARN-10451:
-----------------------------------
{code:title=NodePages#NodesBlock}
if (gpuIndex != null) {
usedGPUs = info.getUsedResource().getResource()
.getResourceValue(ResourceInformation.GPU_URI);
availableGPUs = info.getAvailableResource().getResource()
.getResourceValue(ResourceInformation.GPU_URI);
}
{code}
If yarn.io/gpu is defined and a node is either decommissioned, lost, unhealthy, or shut down, {{NodeInfo#getUsedResource}} and {{NodeInfo#getAvailableResource}} can return null.
> RM (v1) UI NodesPage can NPE when yarn.io/gpu resource type is defined.
> -----------------------------------------------------------------------
>
> Key: YARN-10451
> URL: https://issues.apache.org/jira/browse/YARN-10451
> Project: Hadoop YARN
> Issue Type: Improvement
> Reporter: Eric Payne
> Assignee: Eric Payne
> Priority: Major
>
> The NodesPage in the RM (v1) UI will NPE when the {{yarn.resource-types}} property defines {{yarn.io}}.
--
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