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