org.apache.hadoop.yarn.server.resourcemanager
Class AdminService

java.lang.Object
  extended by org.apache.hadoop.yarn.service.AbstractService
      extended by org.apache.hadoop.yarn.server.resourcemanager.AdminService
All Implemented Interfaces:
RMAdminProtocol, org.apache.hadoop.yarn.service.Service

public class AdminService
extends org.apache.hadoop.yarn.service.AbstractService
implements RMAdminProtocol


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service
org.apache.hadoop.yarn.service.Service.STATE
 
Constructor Summary
AdminService(org.apache.hadoop.conf.Configuration conf, ResourceScheduler scheduler, RMContext rmContext, NodesListManager nodesListManager, ClientRMService clientRMService, ApplicationMasterService applicationMasterService, ResourceTrackerService resourceTrackerService)
           
 
Method Summary
 void init(org.apache.hadoop.conf.Configuration conf)
           
 RefreshAdminAclsResponse refreshAdminAcls(RefreshAdminAclsRequest request)
           
 RefreshNodesResponse refreshNodes(RefreshNodesRequest request)
           
 RefreshQueuesResponse refreshQueues(RefreshQueuesRequest request)
           
 RefreshServiceAclsResponse refreshServiceAcls(RefreshServiceAclsRequest request)
           
 RefreshSuperUserGroupsConfigurationResponse refreshSuperUserGroupsConfiguration(RefreshSuperUserGroupsConfigurationRequest request)
           
 RefreshUserToGroupsMappingsResponse refreshUserToGroupsMappings(RefreshUserToGroupsMappingsRequest request)
           
 void start()
           
 void stop()
           
 
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

AdminService

public AdminService(org.apache.hadoop.conf.Configuration conf,
                    ResourceScheduler scheduler,
                    RMContext rmContext,
                    NodesListManager nodesListManager,
                    ClientRMService clientRMService,
                    ApplicationMasterService applicationMasterService,
                    ResourceTrackerService resourceTrackerService)
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.AbstractService

start

public void start()
Specified by:
start in interface org.apache.hadoop.yarn.service.Service
Overrides:
start in class org.apache.hadoop.yarn.service.AbstractService

stop

public void stop()
Specified by:
stop in interface org.apache.hadoop.yarn.service.Service
Overrides:
stop in class org.apache.hadoop.yarn.service.AbstractService

refreshQueues

public RefreshQueuesResponse refreshQueues(RefreshQueuesRequest request)
                                    throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
refreshQueues in interface RMAdminProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

refreshNodes

public RefreshNodesResponse refreshNodes(RefreshNodesRequest request)
                                  throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
refreshNodes in interface RMAdminProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

refreshSuperUserGroupsConfiguration

public RefreshSuperUserGroupsConfigurationResponse refreshSuperUserGroupsConfiguration(RefreshSuperUserGroupsConfigurationRequest request)
                                                                                throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
refreshSuperUserGroupsConfiguration in interface RMAdminProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

refreshUserToGroupsMappings

public RefreshUserToGroupsMappingsResponse refreshUserToGroupsMappings(RefreshUserToGroupsMappingsRequest request)
                                                                throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
refreshUserToGroupsMappings in interface RMAdminProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

refreshAdminAcls

public RefreshAdminAclsResponse refreshAdminAcls(RefreshAdminAclsRequest request)
                                          throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
refreshAdminAcls in interface RMAdminProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

refreshServiceAcls

public RefreshServiceAclsResponse refreshServiceAcls(RefreshServiceAclsRequest request)
                                              throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
refreshServiceAcls in interface RMAdminProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException


Copyright © 2012 Apache Software Foundation. All Rights Reserved.