public class UserGroupInformationService extends Object implements Service
CONF_PREFIX, DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND| Constructor and Description |
|---|
UserGroupInformationService() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the service.
|
Class<? extends Service> |
getInterface()
Return the public interface of the service.
|
org.apache.hadoop.security.UserGroupInformation |
getProxyUser(String user) |
void |
init(Services services)
Initialize the service.
|
public UserGroupInformationService()
public void init(Services services) throws ServiceException
ServiceService singleton at start up time.init in interface Serviceservices - services singleton initializing the service.ServiceException - thrown if the service could not initialize.public void destroy()
ServiceService singleton at shutdown time.public Class<? extends Service> getInterface()
ServicegetInterface in interface Servicepublic org.apache.hadoop.security.UserGroupInformation getProxyUser(String user) throws IOException
IOExceptionCopyright © 2014 Apache Software Foundation. All Rights Reserved.