[
https://issues.apache.org/jira/browse/YARN-7925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jinjiang Ling updated YARN-7925:
--------------------------------
Attachment: YARN-7925.003.patch
> Some NPE errors caused a display errors when setting node labels
> ----------------------------------------------------------------
>
> Key: YARN-7925
> URL: https://issues.apache.org/jira/browse/YARN-7925
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 3.1.0
> Reporter: Jinjiang Ling
> Assignee: Jinjiang Ling
> Priority: Blocker
> Attachments: DisplayError.png, YARN-7925.001.patch,
> YARN-7925.002.patch, YARN-7925.003.patch
>
>
> I'm trying to using the node label with latest hadoop (3.1.0-SNAPSHOT). But
> when I add a new node label and append a nodemanager to it, sometimes it may
> cause a display error.
> !DisplayError.png|width=573,height=188!
> Then I found *when there is no queues can access to the label*, this error
> will happen.
> After checking the log, I find some NPE errors.
> {quote}......
> Caused by: java.lang.NullPointerException
> at
> org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.ResourceInfo.toString(ResourceInfo.java:73)
> at
> org.apache.hadoop.yarn.server.resourcemanager.webapp.CapacitySchedulerPage$LeafQueueInfoBlock.renderQueueCapacityInfo(CapacitySchedulerPage.java:160)
> ......
> {quote}
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]