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_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() |
RouterClientRMService |
getClientRMProxyService() |
static long |
getClusterTimeStamp() |
org.apache.hadoop.yarn.server.webproxy.FedAppReportFetcher |
getFetcher() |
static String |
getProxyHostAndPort(org.apache.hadoop.conf.Configuration conf) |
RouterRMAdminService |
getRmAdminProxyService() |
org.apache.hadoop.yarn.webapp.WebApp |
getWebapp() |
static void |
main(String[] argv) |
static void |
removeApplication(org.apache.hadoop.conf.Configuration conf,
String applicationId) |
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
@VisibleForTesting protected RouterClientRMService clientRMProxyService
@VisibleForTesting protected RouterRMAdminService rmAdminProxyService
@VisibleForTesting 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()
@VisibleForTesting public void startWepApp()
public static String getProxyHostAndPort(org.apache.hadoop.conf.Configuration conf)
public static void main(String[] argv)
@VisibleForTesting public RouterClientRMService getClientRMProxyService()
@VisibleForTesting public RouterRMAdminService getRmAdminProxyService()
public static long getClusterTimeStamp()
@VisibleForTesting public org.apache.hadoop.yarn.server.webproxy.FedAppReportFetcher getFetcher()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.