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

Tsuyoshi OZAWA commented on YARN-2405:
--------------------------------------

[~maysamyabandeh], It's a bit tricky to throw and catch NPE in iteration. I 
prefer to use negative exit code to handle it.

> NPE in FairSchedulerAppsBlock (scheduler page)
> ----------------------------------------------
>
>                 Key: YARN-2405
>                 URL: https://issues.apache.org/jira/browse/YARN-2405
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Maysam Yabandeh
>
> FairSchedulerAppsBlock#render throws NPE at this line
> {code}
>       int fairShare = fsinfo.getAppFairShare(attemptId);
> {code}
> This causes the scheduler page now showing the app since it lack the 
> definition of appsTableData
> {code}
>  Uncaught ReferenceError: appsTableData is not defined 
> {code}
> The problem is temporary meaning that it is usually resolved by itself either 
> after a retry or after a few hours.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to