if (numContainers > 0) { TBODY<TABLE<Hamlet>> tbody = html. h2("All Containers:"). table("#Containers"). thead("ui-widget-header"). if (modelSaveTotal > 0) { TBODY<TABLE<Hamlet>> tbodySave = html. h2(""). table("#savedmodel"). thead("ui-widget-header"). h2("Resource Applied Info:"). table("#resourceAppliedInfo"). thead("ui-widget-header"). h2("Worker Containers CPU Usage Info:"). table("#workerCPUUsageInfo"). thead("ui-widget-header").
if (numContainers > 0) { Hamlet.TBODY<Hamlet.TABLE<Hamlet>> tbody = html. h2("All Containers:"). table("#Containers"). thead("ui-widget-header"). html.div().$style("margin:20px 2px;")._(" ")._(); Hamlet.TBODY<TABLE<Hamlet>> tbodySave = html. h2("Saved Model"). table("#savedmodel"). thead("ui-widget-header"). h2("Resource Applied Info:"). table("#resourceAppliedInfo"). thead("ui-widget-header"). h2("Worker Containers CPU Usage Info:"). table("#workerCPUUsageInfo"). thead("ui-widget-header").
if (numContainers > 0) { TBODY<TABLE<Hamlet>> tbody = html. h2("All Containers:"). table("#Containers"). thead("ui-widget-header"). if (modelSaveTotal > 0) { TBODY<TABLE<Hamlet>> tbodySave = html. h2(""). table("#savedmodel"). thead("ui-widget-header"). h2("Resource Applied Info:"). table("#resourceAppliedInfo"). thead("ui-widget-header"). h2("Worker Containers CPU Usage Info:"). table("#workerCPUUsageInfo"). thead("ui-widget-header"). html.div().$style("margin:20px 2px;")._(" ")._(); TBODY<TABLE<Hamlet>> psCPUUsage = html. h2("PS Containers CPU Usage Info:"). table("#psCPUUsageInfo"). thead("ui-widget-header").
@Override protected void render(Block html) { if (app.getJob() == null) { html. h2($(TITLE)); return;
@Override protected void render(Block html) { if (app.getJob() == null) { html. h2($(TITLE)); return;
if (!isValidRequest()) { html. h2($(TITLE)); return;
if (!isValidRequest()) { html. h2($(TITLE)); return;
@Override protected void render(Block html) { TBODY<TABLE<Hamlet>> tbody = html. h2("Retired Jobs"). table("#jobs"). thead().
html.h2("Local Logs:"); List<File> logFiles = ContainerLogsUtils.getContainerLogDirs(containerId, request().getRemoteUser(), nmContext); .readAggregatedLogsMeta(logRequest); if (containersLogMeta != null && !containersLogMeta.isEmpty()) { html.h2("Aggregated Logs:"); printAggregatedLogFileDirectory(html, containersLogMeta);
@Override protected void render(Block html) { if (app.getJob() == null) { html. h2($(TITLE)); return;
@Override protected void render(Block html) { TBODY<TABLE<Hamlet>> tbody = html. h2("Retired Jobs"). table("#jobs"). thead().
@Override protected void render(Block html) { if (app.getJob() == null) { html. h2($(TITLE)); return;
@Override protected void render(Block html) { TBODY<TABLE<Hamlet>> tbody = html. h2("Retired Jobs"). table("#jobs"). thead().
@Override protected void render(Block html) { if (app.getJob() == null) { html. h2($(TITLE)); return;
if (!isValidRequest()) { html. h2($(TITLE)); return;
@Override protected void render(Block html) { TBODY<TABLE<Hamlet>> tbody = html. h2("Active Jobs"). table("#jobs"). thead().
@Override protected void render(Block html) { TBODY<TABLE<Hamlet>> tbody = html. h2("Active Jobs"). table("#jobs"). thead().
@Override protected void render(Block html) { TBODY<TABLE<Hamlet>> tbody = html. h2("Active Jobs"). table("#jobs"). thead().
@Override protected void render(Block html) { String userName = null; try { userName = UserGroupInformation.getCurrentUser().getShortUserName(); } catch (IOException e) { LOG.error("error while geting userName", e); } html.h2()._("Application Id :" + $(MPIWebConst.APP_ID))._(); int numContainers = Integer.parseInt($(MPIWebConst.CONTAINER_NUMBER)); for (int i = 1; i <= numContainers; i++) { html.div().a( String.format("http://%s/node/containerlogs/%s/" + userName, $(MPIWebConst.CONTAINER_HTTP_ADDRESS_PREFIX + i), $(MPIWebConst.CONTAINER_ID_PREFIX + i)), String.format("Container Logs: %s", $(MPIWebConst.CONTAINER_ID_PREFIX + i))) ._(" Status:" + $(MPIWebConst.CONTAINER_STATUS_PREFIX + i))._(); } html.div()._("by Zhuoluo (zhuoluo.yzl@taobao.com)")._(); } }
if (numContainers > 0) { Hamlet.TBODY<Hamlet.TABLE<Hamlet>> tbody = html. h2("All Containers:"). table("#Containers"). thead("ui-widget-header"). html.div().$style("margin:20px 2px;")._(" ")._(); Hamlet.TBODY<TABLE<Hamlet>> tbodySave = html. h2("Saved Model"). table("#savedmodel"). thead("ui-widget-header"). h2("Resource Applied Info:"). table("#resourceAppliedInfo"). thead("ui-widget-header"). h2("Worker Containers CPU Usage Info:"). table("#workerCPUUsageInfo"). thead("ui-widget-header"). html.div().$style("margin:20px 2px;")._(" ")._(); Hamlet.TBODY<TABLE<Hamlet>> psCPUUsage = html. h2("PS Containers CPU Usage Info:"). table("#psCPUUsageInfo"). thead("ui-widget-header").