org.apache.hadoop.mapreduce.v2.hs
Class JobHistoryServer
java.lang.Object
org.apache.hadoop.yarn.service.AbstractService
org.apache.hadoop.yarn.service.CompositeService
org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer
- All Implemented Interfaces:
- org.apache.hadoop.yarn.service.Service
public class JobHistoryServer
- extends org.apache.hadoop.yarn.service.CompositeService
JobHistoryServer is responsible for servicing all job history
related requests from client.
| Nested classes/interfaces inherited from class org.apache.hadoop.yarn.service.CompositeService |
org.apache.hadoop.yarn.service.CompositeService.CompositeServiceShutdownHook |
| Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service |
org.apache.hadoop.yarn.service.Service.STATE |
| Methods inherited from class org.apache.hadoop.yarn.service.CompositeService |
addService, getServices, removeService |
| Methods inherited from class org.apache.hadoop.yarn.service.AbstractService |
getConfig, getName, getServiceState, getStartTime, register, unregister |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHUTDOWN_HOOK_PRIORITY
public static final int SHUTDOWN_HOOK_PRIORITY
- Priority of the JobHistoryServer shutdown hook.
- See Also:
- Constant Field Values
historyServerTimeStamp
public static final long historyServerTimeStamp
JobHistoryServer
public JobHistoryServer()
init
public void init(org.apache.hadoop.conf.Configuration conf)
- Specified by:
init in interface org.apache.hadoop.yarn.service.Service- Overrides:
init in class org.apache.hadoop.yarn.service.CompositeService
createJHSSecretManager
protected JHSDelegationTokenSecretManager createJHSSecretManager(org.apache.hadoop.conf.Configuration conf)
doSecureLogin
protected void doSecureLogin(org.apache.hadoop.conf.Configuration conf)
throws IOException
- Throws:
IOException
start
public void start()
- Specified by:
start in interface org.apache.hadoop.yarn.service.Service- Overrides:
start in class org.apache.hadoop.yarn.service.CompositeService
stop
public void stop()
- Specified by:
stop in interface org.apache.hadoop.yarn.service.Service- Overrides:
stop in class org.apache.hadoop.yarn.service.CompositeService
getClientService
@InterfaceAudience.Private
public HistoryClientService getClientService()
main
public static void main(String[] args)
Copyright © 2013 Apache Software Foundation. All Rights Reserved.