Class ContainerBlock
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.ContainerBlock
- All Implemented Interfaces:
org.apache.hadoop.yarn.webapp.Params,org.apache.hadoop.yarn.webapp.SubView
public class ContainerBlock
extends org.apache.hadoop.yarn.webapp.view.HtmlBlock
-
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
FieldsModifier and TypeFieldDescriptionprotected org.apache.hadoop.yarn.api.ApplicationBaseProtocolFields 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 -
Constructor Summary
ConstructorsConstructorDescriptionContainerBlock(org.apache.hadoop.yarn.api.ApplicationBaseProtocol appBaseProt, org.apache.hadoop.yarn.webapp.View.ViewContext ctx) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.yarn.api.records.ContainerReportgetContainerReport(org.apache.hadoop.yarn.api.protocolrecords.GetContainerReportRequest request) protected voidrender(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html) Methods 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
-
Field Details
-
appBaseProt
protected org.apache.hadoop.yarn.api.ApplicationBaseProtocol appBaseProt
-
-
Constructor Details
-
ContainerBlock
@Inject public ContainerBlock(org.apache.hadoop.yarn.api.ApplicationBaseProtocol appBaseProt, org.apache.hadoop.yarn.webapp.View.ViewContext ctx)
-
-
Method Details
-
render
protected void render(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html) - Specified by:
renderin classorg.apache.hadoop.yarn.webapp.view.HtmlBlock
-
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 - Throws:
org.apache.hadoop.yarn.exceptions.YarnExceptionIOException
-