[ 
https://issues.apache.org/jira/browse/YARN-7925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16378388#comment-16378388
 ] 

Jinjiang Ling commented on YARN-7925:
-------------------------------------

Hi [~sunilg]

I have uploaded the second patch, could you take a review ?

> 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
>
>
> 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: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to