public class WebAppProxyServer
extends org.apache.hadoop.service.CompositeService
Modifier and Type | Field and Description |
---|---|
static int |
SHUTDOWN_HOOK_PRIORITY
Priority 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 static WebAppProxyServer |
startServer(org.apache.hadoop.conf.Configuration configuration)
Start proxy server.
|
addIfService, addService, getServices, removeService, serviceStart, serviceStop
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
public static final int SHUTDOWN_HOOK_PRIORITY
protected void serviceInit(org.apache.hadoop.conf.Configuration conf) throws Exception
serviceInit
in class org.apache.hadoop.service.CompositeService
Exception
protected 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
Exception
Copyright © 2014 Apache Software Foundation. All Rights Reserved.