Class RMAppAttemptBlock

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.AppAttemptBlock
org.apache.hadoop.yarn.server.resourcemanager.webapp.RMAppAttemptBlock
All Implemented Interfaces:
org.apache.hadoop.yarn.webapp.Params, org.apache.hadoop.yarn.webapp.SubView

public class RMAppAttemptBlock extends org.apache.hadoop.yarn.server.webapp.AppAttemptBlock
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.hadoop.yarn.webapp.view.HtmlBlock

    org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block

    Nested classes/interfaces inherited from class org.apache.hadoop.yarn.webapp.View

    org.apache.hadoop.yarn.webapp.View.ViewContext
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.hadoop.conf.Configuration
     

    Fields inherited from class org.apache.hadoop.yarn.server.webapp.AppAttemptBlock

    appAttemptId, appBaseProt

    Fields inherited from class org.apache.hadoop.yarn.webapp.view.HtmlBlock

    BYTES_IN_MB, DATE_PATTERN, UNAVAILABLE

    Fields inherited from interface org.apache.hadoop.yarn.webapp.Params

    ERROR_DETAILS, TITLE, TITLE_LINK, USER
  • Method Summary

    Modifier and Type
    Method
    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, org.apache.hadoop.yarn.server.webapp.dao.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)
     

    Methods inherited from class org.apache.hadoop.yarn.server.webapp.AppAttemptBlock

    hasAMContainer, render

    Methods inherited from class org.apache.hadoop.yarn.webapp.view.HtmlBlock

    getCallerUGI, initUserHelpInformationDiv, render, renderPartial

    Methods inherited from class org.apache.hadoop.yarn.webapp.view.TextView

    echo, echoWithoutEscapeHtml, puts, putWithoutEscapeHtml, writer

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • conf

      protected org.apache.hadoop.conf.Configuration conf
  • Method Details

    • createAttemptHeadRoomTable

      protected void createAttemptHeadRoomTable(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html)
      Overrides:
      createAttemptHeadRoomTable in class org.apache.hadoop.yarn.server.webapp.AppAttemptBlock
    • generateOverview

      protected void generateOverview(org.apache.hadoop.yarn.api.records.ApplicationAttemptReport appAttemptReport, Collection<org.apache.hadoop.yarn.api.records.ContainerReport> containers, org.apache.hadoop.yarn.server.webapp.dao.AppAttemptInfo appAttempt, String node)
      Overrides:
      generateOverview in class org.apache.hadoop.yarn.server.webapp.AppAttemptBlock
    • createTablesForAttemptMetrics

      protected void createTablesForAttemptMetrics(org.apache.hadoop.yarn.webapp.view.HtmlBlock.Block html)
      Overrides:
      createTablesForAttemptMetrics in class org.apache.hadoop.yarn.server.webapp.AppAttemptBlock
    • getContainers

      protected 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
      Overrides:
      getContainers in class org.apache.hadoop.yarn.server.webapp.AppAttemptBlock
      Throws:
      org.apache.hadoop.yarn.exceptions.YarnException
      IOException
    • getApplicationAttemptReport

      protected org.apache.hadoop.yarn.api.records.ApplicationAttemptReport getApplicationAttemptReport(org.apache.hadoop.yarn.api.protocolrecords.GetApplicationAttemptReportRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
      Overrides:
      getApplicationAttemptReport in class org.apache.hadoop.yarn.server.webapp.AppAttemptBlock
      Throws:
      org.apache.hadoop.yarn.exceptions.YarnException
      IOException