java.lang.Object
com.google.inject.AbstractModule
com.google.inject.servlet.ServletModule
org.apache.hadoop.yarn.webapp.WebApp
org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebApp
All Implemented Interfaces:
com.google.inject.Module, org.apache.hadoop.yarn.webapp.YarnWebParams

public class RMWebApp extends org.apache.hadoop.yarn.webapp.WebApp implements org.apache.hadoop.yarn.webapp.YarnWebParams
The RM webapp
  • Nested Class Summary

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

    org.apache.hadoop.yarn.webapp.WebApp.HTTP

    Nested classes/interfaces inherited from class com.google.inject.servlet.ServletModule

    com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder, com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
  • Field Summary

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

    APP_HISTORY_WEB_UI, APP_OWNER, APP_SC, APP_START_TIME_BEGIN, APP_START_TIME_END, APP_STATE, APPLICATION_ATTEMPT_ID, APPLICATION_ID, APPS_NUM, CONTAINER_ID, CONTAINER_LOG_TYPE, ENTITY_STRING, ERROR_MESSAGE, NEXT_REFRESH_INTERVAL, NM_NODENAME, NODE_LABEL, NODE_SC, NODE_STATE, QUEUE_NAME, RM_WEB_UI, WEB_UI_TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
     
     
    protected Class<? extends javax.servlet.Filter>
     
    boolean
     
    org.glassfish.jersey.server.ResourceConfig
    resourceConfig(org.apache.hadoop.conf.Configuration config)
     
    void
     

    Methods inherited from class org.apache.hadoop.yarn.webapp.WebApp

    conf, configureServlets, configureWebAppServlets, getHttpServer, getListenerAddress, getServePathSpecs, httpServer, joinThread, name, port, route, route, route, routeWithoutDefaultView, stop, wsName

    Methods inherited from class com.google.inject.servlet.ServletModule

    configure, filter, filter, filterRegex, filterRegex, getServletContext, serve, serve, serveRegex, serveRegex

    Methods inherited from class com.google.inject.AbstractModule

    addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding

    Methods inherited from class java.lang.Object

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

  • Method Details

    • resourceConfig

      public org.glassfish.jersey.server.ResourceConfig resourceConfig(org.apache.hadoop.conf.Configuration config)
    • setup

      public void setup()
      Specified by:
      setup in class org.apache.hadoop.yarn.webapp.WebApp
    • getWebAppFilterClass

      protected Class<? extends javax.servlet.Filter> getWebAppFilterClass()
      Overrides:
      getWebAppFilterClass in class org.apache.hadoop.yarn.webapp.WebApp
    • checkIfStandbyRM

      public void checkIfStandbyRM()
    • isStandby

      public boolean isStandby()
    • getRedirectPath

      public String getRedirectPath()
      Overrides:
      getRedirectPath in class org.apache.hadoop.yarn.webapp.WebApp
    • getHAZookeeperConnectionState

      public String getHAZookeeperConnectionState()
    • getRMContext

      public RMContext getRMContext()