From 98eb4b2c6b5792046a00c1a7c6f87bec554c809c Mon Sep 17 00:00:00 2001 From: Weiwei Yang Date: Mon, 11 Dec 2017 10:31:46 +0800 Subject: [PATCH] =?UTF-8?q?YARN-7608.=20Incorrect=20sTarget=20column=20cau?= =?UTF-8?q?sing=20DataTable=20warning=20on=20RM=20application=20and=20sche?= =?UTF-8?q?duler=20web=20page.=20Contributed=20by=20Gergely=20Nov=C3=A1k.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/apache/hadoop/yarn/server/webapp/WebPageUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/webapp/WebPageUtils.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/webapp/WebPageUtils.java index 3a26ae58890..29f1e634563 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/webapp/WebPageUtils.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/webapp/WebPageUtils.java @@ -55,9 +55,9 @@ public class WebPageUtils { .append(", 'mRender': renderHadoopDate }") .append("\n, {'sType':'numeric', bSearchable:false, 'aTargets':"); if (isFairSchedulerPage) { - sb.append("[13]"); - } else if (isResourceManager) { sb.append("[15]"); + } else if (isResourceManager) { + sb.append("[17]"); } else { sb.append("[9]"); }