hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maysam Yabandeh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2405) NPE in FairSchedulerAppsBlock (scheduler page)
Date Wed, 27 Aug 2014 02:44:58 GMT

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

Maysam Yabandeh commented on YARN-2405:
---------------------------------------

Sounds good to me. We also need to decide of how to react to nonexistent app: return fair
share of 0, -1, or skip the whole record from appsTableData? If the the problematic record
is going to be skipped, instead of putting checks inside fair share computation, we can alternatively
catch the NPE at FairSchedulerAppsBlock.

> 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)

Mime
View raw message