java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Servicepublic class JobHistoryServer
extends org.apache.hadoop.service.CompositeService
JobHistoryServer is responsible for servicing all job history
related requests from client.| Modifier and Type | Field | Description |
|---|---|---|
static long |
historyServerTimeStamp |
|
protected JHSDelegationTokenSecretManager |
jhsDTSecretManager |
|
static int |
SHUTDOWN_HOOK_PRIORITY |
Priority of the JobHistoryServer shutdown hook.
|
| Constructor | Description |
|---|---|
JobHistoryServer() |
| Modifier and Type | Method | Description |
|---|---|---|
protected HistoryClientService |
createHistoryClientService() |
|
protected JHSDelegationTokenSecretManager |
createJHSSecretManager(org.apache.hadoop.conf.Configuration conf,
HistoryServerStateStoreService store) |
|
protected HistoryServerStateStoreService |
createStateStore(org.apache.hadoop.conf.Configuration conf) |
|
protected void |
doSecureLogin(org.apache.hadoop.conf.Configuration conf) |
|
static java.net.InetSocketAddress |
getBindAddress(org.apache.hadoop.conf.Configuration conf) |
Retrieve JHS bind address from configuration
|
HistoryClientService |
getClientService() |
|
static void |
main(java.lang.String[] args) |
|
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
|
protected void |
serviceStart() |
|
protected void |
serviceStop() |
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
public static final long historyServerTimeStamp
protected JHSDelegationTokenSecretManager jhsDTSecretManager
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
serviceInit in class org.apache.hadoop.service.CompositeServicejava.lang.Exception@VisibleForTesting protected HistoryClientService createHistoryClientService()
protected JHSDelegationTokenSecretManager createJHSSecretManager(org.apache.hadoop.conf.Configuration conf, HistoryServerStateStoreService store)
protected HistoryServerStateStoreService createStateStore(org.apache.hadoop.conf.Configuration conf)
protected void doSecureLogin(org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
java.io.IOExceptionpublic static java.net.InetSocketAddress getBindAddress(org.apache.hadoop.conf.Configuration conf)
conf - protected 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 public HistoryClientService getClientService()
public static void main(java.lang.String[] args)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.