YARN-10318. ApplicationHistory Web UI incorrect column indexing. Contributed by Andras Gyori
This commit is contained in:
parent
33d3df7ee2
commit
6459cc73e6
|
@ -150,7 +150,8 @@ public class AppsBlock extends HtmlBlock {
|
|||
TBODY<TABLE<Hamlet>> tbody =
|
||||
html.table("#apps").thead().tr().th(".id", "ID").th(".user", "User")
|
||||
.th(".name", "Name").th(".type", "Application Type")
|
||||
.th(".queue", "Queue").th(".priority", "Application Priority")
|
||||
.th(".apptag", "Application Tags").th(".queue", "Queue")
|
||||
.th(".priority", "Application Priority")
|
||||
.th(".starttime", "StartTime")
|
||||
.th(".launchtime", "LaunchTime")
|
||||
.th(".finishtime", "FinishTime")
|
||||
|
@ -185,6 +186,10 @@ public class AppsBlock extends HtmlBlock {
|
|||
.append(
|
||||
StringEscapeUtils.escapeEcmaScript(StringEscapeUtils.escapeHtml4(app
|
||||
.getType())))
|
||||
.append("\",\"")
|
||||
.append(
|
||||
StringEscapeUtils.escapeEcmaScript(StringEscapeUtils.escapeHtml4(
|
||||
app.getApplicationTags() == null ? "" : app.getApplicationTags())))
|
||||
.append("\",\"")
|
||||
.append(
|
||||
StringEscapeUtils.escapeEcmaScript(StringEscapeUtils.escapeHtml4(app
|
||||
|
|
Loading…
Reference in New Issue