You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Ryu Kobayashi (JIRA)" <ji...@apache.org> on 2015/04/30 08:25:06 UTC

[jira] [Commented] (YARN-3552) RM Web UI shows -1 running containers for completed apps

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

Ryu Kobayashi commented on YARN-3552:
-------------------------------------

I think this problem exists even FairScheduler.
FairSchedulerAppsBlock.java:
{code}
      .append(appInfo.getRunningContainers()).append("\",\"")
{code}

> RM Web UI shows -1 running containers for completed apps
> --------------------------------------------------------
>
>                 Key: YARN-3552
>                 URL: https://issues.apache.org/jira/browse/YARN-3552
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: webapp
>            Reporter: Rohith
>            Assignee: Rohith
>            Priority: Trivial
>         Attachments: 0001-YARN-3552.patch, 0001-YARN-3552.patch, yarn-3352.PNG
>
>
> In the RMServerUtils, the default values are negative number which results in the displayiing the RM web UI also negative number. 
> {code}
>   public static final ApplicationResourceUsageReport
>     DUMMY_APPLICATION_RESOURCE_USAGE_REPORT =
>       BuilderUtils.newApplicationResourceUsageReport(-1, -1,
>           Resources.createResource(-1, -1), Resources.createResource(-1, -1),
>           Resources.createResource(-1, -1), 0, 0);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)