From 7ac0abdc13abce6dd95643c48d84254ac9fcec78 Mon Sep 17 00:00:00 2001 From: Sunil G Date: Wed, 25 Apr 2018 14:57:16 +0530 Subject: [PATCH] YARN-8188. RM Nodes UI data table index for sorting column need to be corrected post Application tags display. Contributed by Weiwei Yang. --- .../hadoop/yarn/server/resourcemanager/webapp/NodesPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/NodesPage.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/NodesPage.java index 3e78cf4f40..09b1c0f7cd 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/NodesPage.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/NodesPage.java @@ -235,7 +235,7 @@ private String nodesTableInit() { .append(", aoColumnDefs: ["); b.append("{'bSearchable': false, 'aTargets': [ 7 ]}"); b.append(", {'sType': 'title-numeric', 'bSearchable': false, " - + "'aTargets': [ 8, 9 ] }"); + + "'aTargets': [ 9, 10 ] }"); b.append(", {'sType': 'title-numeric', 'aTargets': [ 5 ]}"); b.append("]}"); return b.toString();