hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Payne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-9285) RM UI progress column is of wrong type
Date Wed, 01 May 2019 22:09:00 GMT

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

Eric Payne commented on YARN-9285:
----------------------------------

[~ahussein], Thanks for reporting and working on this issue.

One question about the code:
{code:title=WebPageUtils#getAppsTableColumnDefs}
+    if (isResourceManager) {
+      sb.append("\n, {'sType':'num-ignore-str', 'aTargets': [11, 12, 13, 14, 15] }");
+      progressIndex = "[18]";
+    } else if (isFairSchedulerPage) {
+      sb.append("\n, {'sType':'num-ignore-str', 'aTargets': [11, 12, 13, 14, 15] }");
+      progressIndex = "[16]";
     }
{code}
The {{sb.append}} line seems to be exactly the same in the {{if}} and {{else}} blocks. Can
that line be put into the common code path?

> RM UI progress column is of wrong type
> --------------------------------------
>
>                 Key: YARN-9285
>                 URL: https://issues.apache.org/jira/browse/YARN-9285
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>    Affects Versions: 3.1.2, 2.8.6, 2.9.3
>            Reporter: Ahmed Hussein
>            Assignee: Ahmed Hussein
>            Priority: Minor
>              Labels: bug
>         Attachments: YARN-9285-branch-2.8.001.patch, YARN-9285-branch-2.9.001.patch,
YARN-9285.001.patch
>
>
> The column type assigned for progress column in the application report is not correct.
> The rank of the progress column should be 16, and 18. In WebPageUtils.java the "atargets"
needs to be incremented by 1. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message