[ https://issues.apache.org/jira/browse/YARN-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14114747#comment-14114747
]
Tsuyoshi OZAWA commented on YARN-2405:
--------------------------------------
I see. In this case, I think we can show the error message "Failed to render FairSchedulerPage:
" and it can be useful when we face the other problems. I think both approaches have pros
and cons.
> 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, YARN-2405.4.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)
|