@InterfaceAudience.Private public class HSAdminServer extends org.apache.hadoop.service.AbstractService implements HSAdminProtocol
| Modifier and Type | Field and Description |
|---|---|
protected InetSocketAddress |
clientRpcAddress |
protected org.apache.hadoop.ipc.RPC.Server |
clientRpcServer
The RPC server that listens to requests from clients
|
| Constructor and Description |
|---|
HSAdminServer(org.apache.hadoop.yarn.logaggregation.AggregatedLogDeletionService aggLogDelService,
JobHistory jobHistoryService) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.hadoop.conf.Configuration |
createConf() |
String[] |
getGroupsForUser(String user) |
void |
refreshAdminAcls()
Refresh admin acls.
|
void |
refreshJobRetentionSettings()
Refresh job retention settings.
|
void |
refreshLoadedJobCache()
Refresh loaded job cache
|
void |
refreshLogRetentionSettings()
Refresh log retention settings.
|
void |
refreshSuperUserGroupsConfiguration() |
void |
refreshUserToGroupsMappings() |
void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
protected void |
serviceStart() |
protected void |
serviceStop() |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStopprotected org.apache.hadoop.ipc.RPC.Server clientRpcServer
protected InetSocketAddress clientRpcAddress
public HSAdminServer(org.apache.hadoop.yarn.logaggregation.AggregatedLogDeletionService aggLogDelService,
JobHistory jobHistoryService)
public void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStart()
throws Exception
serviceStart in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.AbstractServiceExceptionpublic String[] getGroupsForUser(String user) throws IOException
getGroupsForUser in interface org.apache.hadoop.tools.GetUserMappingsProtocolIOExceptionpublic void refreshUserToGroupsMappings()
throws IOException
refreshUserToGroupsMappings in interface org.apache.hadoop.security.RefreshUserMappingsProtocolIOExceptionpublic void refreshSuperUserGroupsConfiguration()
throws IOException
refreshSuperUserGroupsConfiguration in interface org.apache.hadoop.security.RefreshUserMappingsProtocolIOExceptionprotected org.apache.hadoop.conf.Configuration createConf()
public void refreshAdminAcls()
throws IOException
HSAdminRefreshProtocolrefreshAdminAcls in interface HSAdminRefreshProtocolIOExceptionpublic void refreshLoadedJobCache()
throws IOException
HSAdminRefreshProtocolrefreshLoadedJobCache in interface HSAdminRefreshProtocolIOExceptionpublic void refreshLogRetentionSettings()
throws IOException
HSAdminRefreshProtocolrefreshLogRetentionSettings in interface HSAdminRefreshProtocolIOExceptionpublic void refreshJobRetentionSettings()
throws IOException
HSAdminRefreshProtocolrefreshJobRetentionSettings in interface HSAdminRefreshProtocolIOExceptionCopyright © 2014 Apache Software Foundation. All Rights Reserved.