YARN-9889. [UI] Add Application Tag column to RM All Applications table. Contributed by Kinga Marton
This commit is contained in:
parent
012756a0d9
commit
e3e7daa4f5
@ -60,6 +60,7 @@ protected void renderData(Block html) {
|
|||||||
TBODY<TABLE<Hamlet>> tbody =
|
TBODY<TABLE<Hamlet>> tbody =
|
||||||
html.table("#apps").thead().tr().th(".id", "ID").th(".user", "User")
|
html.table("#apps").thead().tr().th(".id", "ID").th(".user", "User")
|
||||||
.th(".name", "Name").th(".type", "Application Type")
|
.th(".name", "Name").th(".type", "Application Type")
|
||||||
|
.th(".apptag", "Application Tags")
|
||||||
.th(".queue", "Queue").th(".priority", "Application Priority")
|
.th(".queue", "Queue").th(".priority", "Application Priority")
|
||||||
.th(".starttime", "StartTime")
|
.th(".starttime", "StartTime")
|
||||||
.th("launchtime", "LaunchTime")
|
.th("launchtime", "LaunchTime")
|
||||||
@ -130,6 +131,10 @@ protected void renderData(Block html) {
|
|||||||
StringEscapeUtils.escapeEcmaScript(StringEscapeUtils.escapeHtml4(app
|
StringEscapeUtils.escapeEcmaScript(StringEscapeUtils.escapeHtml4(app
|
||||||
.getType())))
|
.getType())))
|
||||||
.append("\",\"")
|
.append("\",\"")
|
||||||
|
.append(
|
||||||
|
StringEscapeUtils.escapeEcmaScript(StringEscapeUtils.escapeHtml4(
|
||||||
|
app.getApplicationTags() == null ? "" : app.getApplicationTags())))
|
||||||
|
.append("\",\"")
|
||||||
.append(
|
.append(
|
||||||
StringEscapeUtils.escapeEcmaScript(StringEscapeUtils.escapeHtml4(app
|
StringEscapeUtils.escapeEcmaScript(StringEscapeUtils.escapeHtml4(app
|
||||||
.getQueue()))).append("\",\"").append(String
|
.getQueue()))).append("\",\"").append(String
|
||||||
|
Loading…
Reference in New Issue
Block a user