public class AppBlock
extends org.apache.hadoop.yarn.webapp.view.HtmlBlock
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.yarn.api.ApplicationBaseProtocol |
appBaseProt |
protected org.apache.hadoop.yarn.api.records.ApplicationId |
appID |
protected org.apache.hadoop.conf.Configuration |
conf |
| Modifier | Constructor and Description |
|---|---|
protected |
AppBlock(org.apache.hadoop.yarn.api.ApplicationBaseProtocol appBaseProt,
org.apache.hadoop.yarn.webapp.View.ViewContext ctx,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createApplicationMetricsTable(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html) |
protected void |
generateApplicationTable(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html,
org.apache.hadoop.security.UserGroupInformation callerUGI,
Collection<org.apache.hadoop.yarn.api.records.ApplicationAttemptReport> attempts) |
protected List<org.apache.hadoop.yarn.api.records.ApplicationAttemptReport> |
getApplicationAttemptsReport(org.apache.hadoop.yarn.api.protocolrecords.GetApplicationAttemptsRequest request) |
protected org.apache.hadoop.yarn.api.records.ApplicationReport |
getApplicationReport(org.apache.hadoop.yarn.api.protocolrecords.GetApplicationReportRequest request) |
protected org.apache.hadoop.yarn.api.records.ContainerReport |
getContainerReport(org.apache.hadoop.yarn.api.protocolrecords.GetContainerReportRequest request) |
static String |
getCSRFHeaderString(org.apache.hadoop.conf.Configuration conf) |
protected org.apache.hadoop.yarn.api.records.LogAggregationStatus |
getLogAggregationStatus() |
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.conf.Configuration conf
protected org.apache.hadoop.yarn.api.records.ApplicationId appID
@Inject
protected AppBlock(org.apache.hadoop.yarn.api.ApplicationBaseProtocol appBaseProt,
org.apache.hadoop.yarn.webapp.View.ViewContext ctx,
org.apache.hadoop.conf.Configuration conf)
protected void render(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html)
render in class org.apache.hadoop.yarn.webapp.view.HtmlBlockprotected void generateApplicationTable(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html,
org.apache.hadoop.security.UserGroupInformation callerUGI,
Collection<org.apache.hadoop.yarn.api.records.ApplicationAttemptReport> attempts)
protected org.apache.hadoop.yarn.api.records.ContainerReport getContainerReport(org.apache.hadoop.yarn.api.protocolrecords.GetContainerReportRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException
org.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionprotected List<org.apache.hadoop.yarn.api.records.ApplicationAttemptReport> getApplicationAttemptsReport(org.apache.hadoop.yarn.api.protocolrecords.GetApplicationAttemptsRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
org.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionprotected org.apache.hadoop.yarn.api.records.ApplicationReport getApplicationReport(org.apache.hadoop.yarn.api.protocolrecords.GetApplicationReportRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException
org.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionprotected void createApplicationMetricsTable(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html)
protected org.apache.hadoop.yarn.api.records.LogAggregationStatus getLogAggregationStatus()
public static String getCSRFHeaderString(org.apache.hadoop.conf.Configuration conf)
Copyright © 2022 Apache Software Foundation. All rights reserved.