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

Karthik Kambatla commented on YARN-2405:
----------------------------------------

Patch looks mostly good. Can we add javadoc for 
{{FairSchedulerInfo#getAppFairShare}}? 

> 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
>            Assignee: Tsuyoshi OZAWA
>         Attachments: YARN-2405.1.patch, YARN-2405.2.patch, YARN-2405.3.patch
>
>
> 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