org.apache.hadoop.mapreduce.v2.hs
Class JobHistoryServer

java.lang.Object
  extended by org.apache.hadoop.yarn.service.AbstractService
      extended by org.apache.hadoop.yarn.service.CompositeService
          extended by 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 Class Summary
 
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
 
Constructor Summary
JobHistoryServer()
           
 
Method Summary
protected  JHSDelegationTokenSecretManager createJHSSecretManager(org.apache.hadoop.conf.Configuration conf)
           
protected  void doSecureLogin(org.apache.hadoop.conf.Configuration conf)
           
 void init(org.apache.hadoop.conf.Configuration conf)
           
static void main(String[] args)
           
 void start()
           
 void stop()
           
 
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
 

Constructor Detail

JobHistoryServer

public JobHistoryServer()
Method Detail

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

main

public static void main(String[] args)


Copyright © 2012 Apache Software Foundation. All Rights Reserved.