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:
parent
c27a5ba65c
commit
7b3c64aece
|
@ -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]");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue