public class AppsBlock
extends org.apache.hadoop.yarn.webapp.view.HtmlBlock
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.yarn.api.ApplicationBaseProtocol |
appBaseProt |
protected Collection<org.apache.hadoop.yarn.api.records.ApplicationReport> |
appReports |
protected org.apache.hadoop.security.UserGroupInformation |
callerUGI |
protected EnumSet<org.apache.hadoop.yarn.api.records.YarnApplicationState> |
reqAppStates |
| Modifier | Constructor and Description |
|---|---|
protected |
AppsBlock(org.apache.hadoop.yarn.api.ApplicationBaseProtocol appBaseProt,
org.apache.hadoop.yarn.webapp.View.ViewContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fetchData() |
protected List<org.apache.hadoop.yarn.api.records.ApplicationReport> |
getApplicationReport(org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest request) |
void |
render(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html) |
protected void |
renderData(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html) |
getCallerUGI, render, renderPartialecho, echoWithoutEscapeHtml, puts, putWithoutEscapeHtml, writerprotected org.apache.hadoop.yarn.api.ApplicationBaseProtocol appBaseProt
protected EnumSet<org.apache.hadoop.yarn.api.records.YarnApplicationState> reqAppStates
protected org.apache.hadoop.security.UserGroupInformation callerUGI
protected Collection<org.apache.hadoop.yarn.api.records.ApplicationReport> appReports
@Inject
protected AppsBlock(org.apache.hadoop.yarn.api.ApplicationBaseProtocol appBaseProt,
org.apache.hadoop.yarn.webapp.View.ViewContext ctx)
protected void fetchData()
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException,
InterruptedException
org.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionInterruptedExceptionprotected List<org.apache.hadoop.yarn.api.records.ApplicationReport> getApplicationReport(org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
org.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionpublic void render(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html)
render in class org.apache.hadoop.yarn.webapp.view.HtmlBlockprotected void renderData(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html)
Copyright © 2022 Apache Software Foundation. All rights reserved.