java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.mapreduce.v2.api.HSAdminProtocol, org.apache.hadoop.mapreduce.v2.api.HSAdminRefreshProtocol, org.apache.hadoop.security.RefreshUserMappingsProtocol, org.apache.hadoop.service.Service, org.apache.hadoop.tools.GetUserMappingsProtocol@Private
public class HSAdminServer
extends org.apache.hadoop.service.AbstractService
implements org.apache.hadoop.mapreduce.v2.api.HSAdminProtocol
| Modifier and Type | Field | Description |
|---|---|---|
protected java.net.InetSocketAddress |
clientRpcAddress |
|
protected org.apache.hadoop.ipc.RPC.Server |
clientRpcServer |
The RPC server that listens to requests from clients
|
| Constructor | Description |
|---|---|
HSAdminServer(org.apache.hadoop.yarn.logaggregation.AggregatedLogDeletionService aggLogDelService,
JobHistory jobHistoryService) |
| Modifier and Type | Method | Description |
|---|---|---|
protected org.apache.hadoop.conf.Configuration |
createConf() |
|
java.lang.String[] |
getGroupsForUser(java.lang.String user) |
|
void |
refreshAdminAcls() |
|
void |
refreshJobRetentionSettings() |
|
void |
refreshLoadedJobCache() |
|
void |
refreshLogRetentionSettings() |
|
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 java.net.InetSocketAddress clientRpcAddress
public HSAdminServer(org.apache.hadoop.yarn.logaggregation.AggregatedLogDeletionService aggLogDelService,
JobHistory jobHistoryService)
public void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
serviceInit in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionprotected void serviceStart()
throws java.lang.Exception
serviceStart in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionprotected void serviceStop()
throws java.lang.Exception
serviceStop in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionpublic java.lang.String[] getGroupsForUser(java.lang.String user)
throws java.io.IOException
getGroupsForUser in interface org.apache.hadoop.tools.GetUserMappingsProtocoljava.io.IOExceptionpublic void refreshUserToGroupsMappings()
throws java.io.IOException
refreshUserToGroupsMappings in interface org.apache.hadoop.security.RefreshUserMappingsProtocoljava.io.IOExceptionpublic void refreshSuperUserGroupsConfiguration()
throws java.io.IOException
refreshSuperUserGroupsConfiguration in interface org.apache.hadoop.security.RefreshUserMappingsProtocoljava.io.IOExceptionprotected org.apache.hadoop.conf.Configuration createConf()
public void refreshAdminAcls()
throws java.io.IOException
refreshAdminAcls in interface org.apache.hadoop.mapreduce.v2.api.HSAdminRefreshProtocoljava.io.IOExceptionpublic void refreshLoadedJobCache()
throws java.io.IOException
refreshLoadedJobCache in interface org.apache.hadoop.mapreduce.v2.api.HSAdminRefreshProtocoljava.io.IOExceptionpublic void refreshLogRetentionSettings()
throws java.io.IOException
refreshLogRetentionSettings in interface org.apache.hadoop.mapreduce.v2.api.HSAdminRefreshProtocoljava.io.IOExceptionpublic void refreshJobRetentionSettings()
throws java.io.IOException
refreshJobRetentionSettings in interface org.apache.hadoop.mapreduce.v2.api.HSAdminRefreshProtocoljava.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.