.th(".progress", "Progress") .th(".ui", "Tracking UI") .__().__().tbody();
th("Start Time"). th("Finish Time"). th("Elapsed Time").__().__(). tbody(); StringBuilder tasksTableData = new StringBuilder("[\n");
"Nodes blacklisted by the app") .th(".rmBlacklistednodes", "Nodes blacklisted by the RM for the" + " app", "Nodes blacklisted by the system").__().__().tbody();
.th(".ui", "Tracking UI") .th(".blacklisted", "Blacklisted Nodes").__() .__().tbody();
TBODY<TABLE<Hamlet>> tbody = tr.__().__().tbody();
th(".reservedMemory", "Reserved Memory MB"). th(".progress", "Progress"). th(".ui", "Tracking UI").__().__(). tbody(); Collection<YarnApplicationState> reqAppStates = null;
.th(".rebootedN", "Rebooted Nodes") .th(".totalN", "Total Nodes") .__().__().tbody();
.__("Total Fulfilled Reservations(count)").__().th() .$class("ui-state-default").__("Total Container Preemptions(count)") .__().__().__().tbody(); tbody .$class("ui-widget-content") .th().$class("ui-state-default").__("Reservations(count - resources)") .__().th().$class("ui-state-default").__("Releases(count - resources)") .__().__().__().tbody(); tbody .$class("ui-widget-content") .$class("ui-state-default").__("Container Id").__().th() .$class("ui-state-default").__("Node Id").__().th() .$class("ui-state-default").__("Queue").__().__().__().tbody(); SchedulerHealth.DetailedInformation di = entry.getValue(); if (di.getTimestamp() != 0) {
.th(".executiontype", "ExecutionType") .th(".allocationTags", "AllocationTags") .th(".placementConstraint", "PlacementConstraint").__().__().tbody();
.th(".vcores", "VCores Avail") .th(".nodeManagerVersion", "Version") .__().__().tbody();
th(_TH, "source chain"). __(). __(). tbody(); for (ConfEntryInfo entry : info.getProperties()) {
table("#t1"). thead(). tr().th("Column1").th("Column2").__().__(). tbody(). tr().td("c1r1").td("c2r1").__(). table("#t2"). thead(). tr().th(_TH, "Column1").th(_TH, "Column2").__().__(). tbody(). tr().td("r1"). // th wouldn't work as of dt 1.7.5 table("#t3"). thead(). tr().th("SubColumn1").th("SubColumn2").__().__(). tbody(). tr().td("subc1r1").td("subc2r1").__(). table("#t4"). thead(). tr().th("SubColumn1").th("SubColumn2").__().__(). tbody(). tr().td("subc1r1").td("subc2r1").__().
.$class("ui-state-default").__("Used AM Resource").__().th() .$class("ui-state-default").__("Schedulable Apps").__().th() .$class("ui-state-default").__("Non-Schedulable Apps").__().__().__() .tbody();
th("Reduce Progress"). th("Reduces Total"). th("Reduces Completed").__().__(). tbody(); for (Job j : appContext.getAllJobs().values()) {
tr(). th(".ui-state-default", columnType). th(".ui-state-default", "Value").__().__(). tbody(); for (Map.Entry<String, Long> entry : values.entrySet()) {
th(".numOfActiveNMs", "Num Of Active NMs"). th(".totalResource", "Total Resource"). __().__(). tbody();
tr(). td().$colspan(2). __(header()).__().__().__(). tfoot(). tr().
@Override protected void render(Block html) { TBODY<TABLE<BODY<Hamlet>>> tableBody = html.body() .table("#containers") .thead() .tr() .td().__("ContainerId").__() .td().__("ExecutionType").__() .td().__("ContainerState").__() .td().__("logs").__() .__() .__().tbody(); for (Entry<ContainerId, Container> entry : this.nmContext .getContainers().entrySet()) { ContainerInfo info = new ContainerInfo(this.nmContext, entry.getValue()); tableBody .tr() .td().a(url("container", info.getId()), info.getId()) .__() .td().__(info.getExecutionType()).__() .td().__(info.getState()).__() .td() .a(url(info.getShortLogLink()), "logs").__() .__(); } tableBody.__().__().__(); }
@Override protected void render(Block html) { TBODY<TABLE<BODY<Hamlet>>> tableBody = html .body() .table("#applications") .thead() .tr() .td().__("ApplicationId").__() .td().__("ApplicationState").__() .__() .__() .tbody(); for (Entry<ApplicationId, Application> entry : this.nmContext .getApplications().entrySet()) { AppInfo info = new AppInfo(entry.getValue()); tableBody .tr() .td().a(url("application", info.getId()), info.getId()).__() .td().__(info.getState()) .__() .__(); } tableBody.__().__().__(); } }