public class WebAppProxyServer
extends org.apache.hadoop.service.CompositeService
| Modifier and Type | Field and Description | 
|---|---|
| static int | SHUTDOWN_HOOK_PRIORITYPriority of the ResourceManager shutdown hook. | 
| Constructor and Description | 
|---|
| WebAppProxyServer() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | doSecureLogin(org.apache.hadoop.conf.Configuration conf)Log in as the Kerberose principal designated for the proxy | 
| static InetSocketAddress | getBindAddress(org.apache.hadoop.conf.Configuration conf)Retrieve PROXY bind address from configuration | 
| static void | main(String[] args) | 
| protected void | serviceInit(org.apache.hadoop.conf.Configuration conf) | 
| protected void | serviceStart() | 
| protected void | serviceStop() | 
| protected static WebAppProxyServer | startServer(org.apache.hadoop.conf.Configuration configuration)Start proxy server. | 
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, waitForServiceToStoppublic static final int SHUTDOWN_HOOK_PRIORITY
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
                    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 doSecureLogin(org.apache.hadoop.conf.Configuration conf)
                      throws IOException
conf - the configuration holding this information in it.IOException - on any error.public static InetSocketAddress getBindAddress(org.apache.hadoop.conf.Configuration conf)
conf - public static void main(String[] args)
protected static WebAppProxyServer startServer(org.apache.hadoop.conf.Configuration configuration) throws Exception
ExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.