public class GetUserMappingsProtocolClientSideTranslatorPB extends Object implements org.apache.hadoop.ipc.ProtocolMetaInterface, org.apache.hadoop.tools.GetUserMappingsProtocol, Closeable
| Constructor and Description |
|---|
GetUserMappingsProtocolClientSideTranslatorPB(org.apache.hadoop.tools.protocolPB.GetUserMappingsProtocolPB rpcProxy) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String[] |
getGroupsForUser(String user)
Get the groups which are mapped to the given user.
|
boolean |
isMethodSupported(String methodName)
Checks whether the given method name is supported by the server.
|
public GetUserMappingsProtocolClientSideTranslatorPB(org.apache.hadoop.tools.protocolPB.GetUserMappingsProtocolPB rpcProxy)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic String[] getGroupsForUser(String user) throws IOException
org.apache.hadoop.tools.GetUserMappingsProtocolgetGroupsForUser in interface org.apache.hadoop.tools.GetUserMappingsProtocoluser - The user to get the groups for.IOExceptionpublic boolean isMethodSupported(String methodName) throws IOException
org.apache.hadoop.ipc.ProtocolMetaInterfaceisMethodSupported in interface org.apache.hadoop.ipc.ProtocolMetaInterfacemethodName - The name of the methodIOExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.