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, renderPartialecho, echoWithoutEscapeHtml, puts, putWithoutEscapeHtml, writerprotected 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.HtmlBlockprotected 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.YarnExceptionIOExceptionprotected 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.YarnExceptionIOExceptionprotected 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 © 2008–2023 Apache Software Foundation. All rights reserved.