YARN-7608. Incorrect sTarget column causing DataTable warning on RM application and scheduler web page. Contributed by Gergely Novák.

This commit is contained in:
Weiwei Yang 2017-12-11 10:31:46 +08:00
parent c27a5ba65c
commit 7b3c64aece
1 changed files with 2 additions and 2 deletions

View File

@ -55,9 +55,9 @@ public class WebPageUtils {
.append(", 'mRender': renderHadoopDate }") .append(", 'mRender': renderHadoopDate }")
.append("\n, {'sType':'numeric', bSearchable:false, 'aTargets':"); .append("\n, {'sType':'numeric', bSearchable:false, 'aTargets':");
if (isFairSchedulerPage) { if (isFairSchedulerPage) {
sb.append("[13]");
} else if (isResourceManager) {
sb.append("[15]"); sb.append("[15]");
} else if (isResourceManager) {
sb.append("[17]");
} else { } else {
sb.append("[9]"); sb.append("[9]");
} }