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 41796ea60a
commit 3dc1ea6050
1 changed files with 2 additions and 2 deletions

View File

@ -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]");
}