java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Servicepublic class ApplicationHistoryServer
extends org.apache.hadoop.service.CompositeService
| Modifier and Type | Field | Description |
|---|---|---|
static int |
SHUTDOWN_HOOK_PRIORITY |
| Constructor | Description |
|---|---|
ApplicationHistoryServer() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getPort() |
|
TimelineStore |
getTimelineStore() |
|
static void |
main(java.lang.String[] args) |
|
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
|
protected void |
serviceStart() |
|
protected void |
serviceStop() |
|
protected void |
startStatusServer(org.apache.hadoop.conf.Configuration conf) |
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.Exception@Private @VisibleForTesting public int getPort()
@Private @VisibleForTesting public TimelineStore getTimelineStore()
public static void main(java.lang.String[] args)
protected void startStatusServer(org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.