public class Router
extends org.apache.hadoop.service.CompositeService
Modifier and Type | Field and Description |
---|---|
static int |
SHUTDOWN_HOOK_PRIORITY
Priority 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, removeService
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
protected String webAppAddress
public static final int SHUTDOWN_HOOK_PRIORITY
protected void doSecureLogin() throws IOException
IOException
protected void serviceInit(org.apache.hadoop.conf.Configuration config) throws Exception
serviceInit
in class org.apache.hadoop.service.CompositeService
Exception
protected void serviceStart() throws Exception
serviceStart
in class org.apache.hadoop.service.CompositeService
Exception
protected void serviceStop() throws Exception
serviceStop
in class org.apache.hadoop.service.CompositeService
Exception
protected 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–2021 Apache Software Foundation. All rights reserved.