public class Router
extends org.apache.hadoop.service.CompositeService
| Modifier and Type | Field and Description | 
|---|---|
| protected RouterClientRMService | clientRMProxyService | 
| protected RouterRMAdminService | rmAdminProxyService | 
| static int | SHUTDOWN_HOOK_PRIORITYPriority of the Router shutdown hook. | 
| protected String | webAppAddress | 
| Constructor and Description | 
|---|
| Router() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected RouterClientRMService | createClientRMProxyService() | 
| protected RouterRMAdminService | createRMAdminProxyService() | 
| protected void | doSecureLogin() | 
| org.apache.hadoop.yarn.webapp.WebApp | getWebapp() | 
| static void | main(String[] argv) | 
| protected void | serviceInit(org.apache.hadoop.conf.Configuration config) | 
| protected void | serviceStart() | 
| protected void | serviceStop() | 
| protected void | shutDown() | 
| void | startWepApp() | 
addIfService, addService, getServices, removeServiceclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStopprotected RouterClientRMService clientRMProxyService
protected RouterRMAdminService rmAdminProxyService
protected String webAppAddress
public static final int SHUTDOWN_HOOK_PRIORITY
protected void doSecureLogin()
                      throws IOException
IOExceptionprotected void serviceInit(org.apache.hadoop.conf.Configuration config)
                    throws Exception
serviceInit in class org.apache.hadoop.service.CompositeServiceExceptionprotected void serviceStart()
                     throws Exception
serviceStart in class org.apache.hadoop.service.CompositeServiceExceptionprotected void serviceStop()
                    throws Exception
serviceStop in class org.apache.hadoop.service.CompositeServiceExceptionprotected void shutDown()
protected RouterClientRMService createClientRMProxyService()
protected RouterRMAdminService createRMAdminProxyService()
@InterfaceAudience.Private public org.apache.hadoop.yarn.webapp.WebApp getWebapp()
public void startWepApp()
public static void main(String[] argv)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.