public class AppAttemptBlock
extends org.apache.hadoop.yarn.webapp.view.HtmlBlock
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
appAttemptId |
protected org.apache.hadoop.yarn.api.ApplicationBaseProtocol |
appBaseProt |
Constructor and Description |
---|
AppAttemptBlock(org.apache.hadoop.yarn.api.ApplicationBaseProtocol appBaseProt,
org.apache.hadoop.yarn.webapp.View.ViewContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected void |
createAttemptHeadRoomTable(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html) |
protected void |
createTablesForAttemptMetrics(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html) |
protected void |
generateOverview(org.apache.hadoop.yarn.api.records.ApplicationAttemptReport appAttemptReport,
Collection<org.apache.hadoop.yarn.api.records.ContainerReport> containers,
AppAttemptInfo appAttempt,
String node) |
protected org.apache.hadoop.yarn.api.records.ApplicationAttemptReport |
getApplicationAttemptReport(org.apache.hadoop.yarn.api.protocolrecords.GetApplicationAttemptReportRequest request) |
protected List<org.apache.hadoop.yarn.api.records.ContainerReport> |
getContainers(org.apache.hadoop.yarn.api.protocolrecords.GetContainersRequest request) |
protected boolean |
hasAMContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId,
Collection<org.apache.hadoop.yarn.api.records.ContainerReport> containers) |
protected void |
render(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html) |
getCallerUGI, render, renderPartial
echo, echoWithoutEscapeHtml, puts, putWithoutEscapeHtml, writer
protected org.apache.hadoop.yarn.api.ApplicationBaseProtocol appBaseProt
protected org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId
@Inject public AppAttemptBlock(org.apache.hadoop.yarn.api.ApplicationBaseProtocol appBaseProt, org.apache.hadoop.yarn.webapp.View.ViewContext ctx)
protected void render(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html)
render
in class org.apache.hadoop.yarn.webapp.view.HtmlBlock
protected List<org.apache.hadoop.yarn.api.records.ContainerReport> getContainers(org.apache.hadoop.yarn.api.protocolrecords.GetContainersRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
org.apache.hadoop.yarn.exceptions.YarnException
IOException
protected org.apache.hadoop.yarn.api.records.ApplicationAttemptReport getApplicationAttemptReport(org.apache.hadoop.yarn.api.protocolrecords.GetApplicationAttemptReportRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
org.apache.hadoop.yarn.exceptions.YarnException
IOException
protected void generateOverview(org.apache.hadoop.yarn.api.records.ApplicationAttemptReport appAttemptReport, Collection<org.apache.hadoop.yarn.api.records.ContainerReport> containers, AppAttemptInfo appAttempt, String node)
protected boolean hasAMContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId, Collection<org.apache.hadoop.yarn.api.records.ContainerReport> containers)
protected void createAttemptHeadRoomTable(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html)
protected void createTablesForAttemptMetrics(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html)
Copyright © 2018 Apache Software Foundation. All Rights Reserved.