@Override protected void render(Block html) { String attemptid = $(APPLICATION_ATTEMPT_ID); if (attemptid.isEmpty()) { puts("Bad request: requires application attempt ID"); return; appAttemptId = ApplicationAttemptId.fromString(attemptid); } catch (IllegalArgumentException e) { puts("Invalid application attempt ID: " + attemptid); return; UserGroupInformation callerUGI = getCallerUGI(); ApplicationAttemptReport appAttemptReport; try { puts("Application Attempt not found: " + attemptid); return; setTitle(join("Application Attempt ", attemptid)); generateOverview(appAttemptReport, containers, appAttempt, node); createAttemptHeadRoomTable(html); html._(InfoBlock.class); createTablesForAttemptMetrics(html); containersTableData .append("[\"<a href='")
protected void generateOverview(ApplicationAttemptReport appAttemptReport, Collection<ContainerReport> containers, AppAttemptInfo appAttempt, String node) { info("Application Attempt Overview") ._( "Application Attempt State:", "AM Container:", appAttempt.getAmContainerId() == null || containers == null || !hasAMContainer(appAttemptReport.getAMContainerId(), containers) ? null : root_url("container", appAttempt.getAmContainerId()), String.valueOf(appAttempt.getAmContainerId())) ._("Node:", node) appAttempt.getTrackingUrl() == null || appAttempt.getTrackingUrl().equals(UNAVAILABLE) ? null : root_url(appAttempt.getTrackingUrl()), appAttempt.getTrackingUrl() == null || appAttempt.getTrackingUrl().equals(UNAVAILABLE)
String node) { String amContainerId = appAttempt.getAmContainerId(); info("Application Attempt Overview") ._( "Application Attempt State:", amContainerId == null || containers == null || !hasAMContainer(appAttemptReport.getAMContainerId(), containers) ? null : root_url("container", amContainerId), amContainerId == null ? "N/A" : amContainerId) ._("Node:", node) appAttempt.getTrackingUrl() == null || appAttempt.getTrackingUrl().equals(UNAVAILABLE) ? null : root_url(appAttempt.getTrackingUrl()), appAttempt.getTrackingUrl() == null || appAttempt.getTrackingUrl().equals(UNAVAILABLE)
@Override protected void render(Block html) { String attemptid = $(APPLICATION_ATTEMPT_ID); if (attemptid.isEmpty()) { puts("Bad request: requires application attempt ID"); return; appAttemptId = ConverterUtils.toApplicationAttemptId(attemptid); } catch (IllegalArgumentException e) { puts("Invalid application attempt ID: " + attemptid); return; UserGroupInformation callerUGI = getCallerUGI(); ApplicationAttemptReport appAttemptReport; try { puts("Application Attempt not found: " + attemptid); return; setTitle(join("Application Attempt ", attemptid)); generateOverview(appAttemptReport, containers, appAttempt, node); createAttemptHeadRoomTable(html); html._(InfoBlock.class); createTablesForAttemptMetrics(html); containersTableData .append("[\"<a href='")
protected void generateOverview(ApplicationAttemptReport appAttemptReport, Collection<ContainerReport> containers, AppAttemptInfo appAttempt, String node) { info("Application Attempt Overview") ._( "Application Attempt State:", "AM Container:", appAttempt.getAmContainerId() == null || containers == null || !hasAMContainer(appAttemptReport.getAMContainerId(), containers) ? null : root_url("container", appAttempt.getAmContainerId()), String.valueOf(appAttempt.getAmContainerId())) ._("Node:", node) appAttempt.getTrackingUrl() == null || appAttempt.getTrackingUrl().equals(UNAVAILABLE) ? null : root_url(appAttempt.getTrackingUrl()), appAttempt.getTrackingUrl() == null || appAttempt.getTrackingUrl().equals(UNAVAILABLE)
@Override protected void render(Block html) { String attemptid = $(APPLICATION_ATTEMPT_ID); if (attemptid.isEmpty()) { puts("Bad request: requires application attempt ID"); return; appAttemptId = ConverterUtils.toApplicationAttemptId(attemptid); } catch (IllegalArgumentException e) { puts("Invalid application attempt ID: " + attemptid); return; UserGroupInformation callerUGI = getCallerUGI(); ApplicationAttemptReport appAttemptReport; try { puts("Application Attempt not found: " + attemptid); return; setTitle(join("Application Attempt ", attemptid)); generateOverview(appAttemptReport, containers, appAttempt, node); createAttemptHeadRoomTable(html); html._(InfoBlock.class); createTablesForAttemptMetrics(html); containersTableData .append("[\"<a href='")