Class RMAppBlock
java.lang.Object
org.apache.hadoop.yarn.webapp.View
org.apache.hadoop.yarn.webapp.view.TextView
org.apache.hadoop.yarn.webapp.view.HtmlBlock
org.apache.hadoop.yarn.server.webapp.AppBlock
org.apache.hadoop.yarn.server.resourcemanager.webapp.RMAppBlock
- All Implemented Interfaces:
org.apache.hadoop.yarn.webapp.Params,org.apache.hadoop.yarn.webapp.SubView
public class RMAppBlock
extends org.apache.hadoop.yarn.server.webapp.AppBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.yarn.webapp.view.HtmlBlock
org.apache.hadoop.yarn.webapp.view.HtmlBlock.BlockNested classes/interfaces inherited from class org.apache.hadoop.yarn.webapp.View
org.apache.hadoop.yarn.webapp.View.ViewContext -
Field Summary
Fields inherited from class org.apache.hadoop.yarn.server.webapp.AppBlock
appBaseProt, appIDFields inherited from class org.apache.hadoop.yarn.webapp.view.HtmlBlock
BYTES_IN_MB, DATE_PATTERN, UNAVAILABLEFields inherited from interface org.apache.hadoop.yarn.webapp.Params
ERROR_DETAILS, TITLE, TITLE_LINK, USER -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateApplicationMetricsTable(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html) protected voidgenerateApplicationTable(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.ApplicationReportgetApplicationReport(org.apache.hadoop.yarn.api.protocolrecords.GetApplicationReportRequest request) protected org.apache.hadoop.yarn.api.records.ContainerReportgetContainerReport(org.apache.hadoop.yarn.api.protocolrecords.GetContainerReportRequest request) protected org.apache.hadoop.yarn.api.records.LogAggregationStatusprotected voidrender(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html) Methods inherited from class org.apache.hadoop.yarn.server.webapp.AppBlock
getCSRFHeaderStringMethods inherited from class org.apache.hadoop.yarn.webapp.view.HtmlBlock
getCallerUGI, initUserHelpInformationDiv, render, renderPartialMethods inherited from class org.apache.hadoop.yarn.webapp.view.TextView
echo, echoWithoutEscapeHtml, puts, putWithoutEscapeHtml, writerMethods inherited from class org.apache.hadoop.yarn.webapp.View
$, $, context, cookies, error, getInstance, inDevMode, info, injector, moreParams, outputStream, prefix, render, request, response, root, root_url, set, setTitle, setTitle, status, url
-
Method Details
-
render
protected void render(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html) - Overrides:
renderin classorg.apache.hadoop.yarn.server.webapp.AppBlock
-
createApplicationMetricsTable
protected void createApplicationMetricsTable(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html) - Overrides:
createApplicationMetricsTablein classorg.apache.hadoop.yarn.server.webapp.AppBlock
-
generateApplicationTable
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) - Overrides:
generateApplicationTablein classorg.apache.hadoop.yarn.server.webapp.AppBlock
-
getLogAggregationStatus
protected org.apache.hadoop.yarn.api.records.LogAggregationStatus getLogAggregationStatus()- Overrides:
getLogAggregationStatusin classorg.apache.hadoop.yarn.server.webapp.AppBlock
-
getContainerReport
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 - Overrides:
getContainerReportin classorg.apache.hadoop.yarn.server.webapp.AppBlock- Throws:
org.apache.hadoop.yarn.exceptions.YarnExceptionIOException
-
getApplicationAttemptsReport
protected 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 - Overrides:
getApplicationAttemptsReportin classorg.apache.hadoop.yarn.server.webapp.AppBlock- Throws:
org.apache.hadoop.yarn.exceptions.YarnExceptionIOException
-
getApplicationReport
protected org.apache.hadoop.yarn.api.records.ApplicationReport getApplicationReport(org.apache.hadoop.yarn.api.protocolrecords.GetApplicationReportRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException - Overrides:
getApplicationReportin classorg.apache.hadoop.yarn.server.webapp.AppBlock- Throws:
org.apache.hadoop.yarn.exceptions.YarnExceptionIOException
-