|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.service.AbstractService
org.apache.hadoop.service.CompositeService
org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer
public class JobHistoryServer
JobHistoryServer is responsible for servicing all job history
related requests from client.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.hadoop.service.CompositeService |
|---|
org.apache.hadoop.service.CompositeService.CompositeServiceShutdownHook |
| Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service |
|---|
org.apache.hadoop.service.Service.STATE |
| Field Summary | |
|---|---|
static long |
historyServerTimeStamp
|
static int |
SHUTDOWN_HOOK_PRIORITY
Priority of the JobHistoryServer shutdown hook. |
| Fields inherited from class org.apache.hadoop.service.CompositeService |
|---|
STOP_ONLY_STARTED_SERVICES |
| Constructor Summary | |
|---|---|
JobHistoryServer()
|
|
| Method Summary | |
|---|---|
protected JHSDelegationTokenSecretManager |
createJHSSecretManager(org.apache.hadoop.conf.Configuration conf)
|
protected void |
doSecureLogin(org.apache.hadoop.conf.Configuration conf)
|
HistoryClientService |
getClientService()
|
static void |
main(String[] args)
|
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf)
|
protected void |
serviceStart()
|
protected void |
serviceStop()
|
| Methods inherited from class org.apache.hadoop.service.CompositeService |
|---|
addIfService, addService, getServices, removeService |
| Methods inherited from class org.apache.hadoop.service.AbstractService |
|---|
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int SHUTDOWN_HOOK_PRIORITY
public static final long historyServerTimeStamp
| Constructor Detail |
|---|
public JobHistoryServer()
| Method Detail |
|---|
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws Exception
serviceInit in class org.apache.hadoop.service.CompositeServiceExceptionprotected JHSDelegationTokenSecretManager createJHSSecretManager(org.apache.hadoop.conf.Configuration conf)
protected void doSecureLogin(org.apache.hadoop.conf.Configuration conf)
throws IOException
IOException
protected void serviceStart()
throws Exception
serviceStart in class org.apache.hadoop.service.CompositeServiceException
protected void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.CompositeServiceException@InterfaceAudience.Private public HistoryClientService getClientService()
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||