Created 04-04-2017 06:01 PM
Hi there,
I am trying to execute hdfs groups <username> command on commandline, but it gives error like below.
I could execute the same command on DEV region to see the list of groups that the user belongs to, but QA gives error.
FYI, we are using ISILON(Hadoop) cluster in QA region and HDP 2.5.3.
Exception in thread "main" org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): Unknown protocol: org.apache.hadoop.tools.GetUserMappingsProtocol at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1552) at org.apache.hadoop.ipc.Client.call(Client.java:1496) at org.apache.hadoop.ipc.Client.call(Client.java:1396) at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:233) at com.sun.proxy.$Proxy8.getGroupsForUser(Unknown Source) at org.apache.hadoop.tools.protocolPB.GetUserMappingsProtocolClientSideTranslatorPB.getGroupsForUser(GetUserMappingsProtocolClientSideTranslatorPB.java:57) at org.apache.hadoop.tools.GetGroupsBase.run(GetGroupsBase.java:71) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90) at org.apache.hadoop.hdfs.tools.GetGroups.main(GetGroups.java:96)
Thanks,
jee
Created 04-05-2017 05:23 AM
You are not authorized to run this command. Check your keytab and Ranger settings. Can you first try running simple hdfs dfs -ls / on this cluster? first kinit and try "hdfs dfs -ls /" and then try the "hdfs groups <username>" command (if one works and other gives you this error again, then you have a permission issue).
Created 08-24-2017 09:27 AM
I have the same issue, we are using an Isilon (8.0.1.1) too.
it seems this command is not implemented in the Isilon.
other commands like "hdfs -dfs -ls" work fine and our cluster isn't kerberized and we aren't using ranger.
Isilon logs :
DAISICLUSTER0-3: 2017-08-24T11:24:35+02:00 <30.6> DAISICLUSTER0-3 hdfs[84852]: [hdfs] RPC V9 user: exception: org.apache.hadoop.security.authorize.AuthorizationException cause: Unknown protocol: org.apache.hadoop.tools.GetUserMappingsProtocol