public class JobHistoryServer
extends org.apache.hadoop.service.CompositeService
JobHistoryServer is responsible for servicing all job history
related requests from client.| Modifier and Type | Field and Description |
|---|---|
static long |
historyServerTimeStamp |
protected JHSDelegationTokenSecretManager |
jhsDTSecretManager |
static int |
SHUTDOWN_HOOK_PRIORITY
Priority of the JobHistoryServer shutdown hook.
|
| Constructor and Description |
|---|
JobHistoryServer() |
| Modifier and Type | Method and 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 InetSocketAddress |
getBindAddress(org.apache.hadoop.conf.Configuration conf)
Retrieve JHS bind address from configuration
|
HistoryClientService |
getClientService() |
static void |
main(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 Exception
serviceInit in class org.apache.hadoop.service.CompositeServiceExceptionprotected 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 IOException
IOExceptionpublic static InetSocketAddress getBindAddress(org.apache.hadoop.conf.Configuration conf)
conf - protected void serviceStart()
throws Exception
serviceStart in class org.apache.hadoop.service.CompositeServiceExceptionprotected void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.CompositeServiceException@InterfaceAudience.Private public HistoryClientService getClientService()
public static void main(String[] args)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.