Community Articles
Find and share helpful community-sourced technical articles
Labels (1)
New Contributor


When using HDFS commands to change ownership of a directory on a cluster backed with Isilon, it returns the following error:

[hdfs@hdp.test.cluster ~]$ hadoop fs -chown -R hduser1:hdfs /user/hduser1 chown: changing ownership of '/user/hduser1': Failed to get id rec: 2:hduser1

Running "hdfs groups" command returns the following exception:

[hdfs@hdp.test.cluster ~]$ hdfs groups hduser1 
Exception in thread "main" org.apache.hadoop.ipc.RemoteException( bad protocol: at at at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke( at com.sun.proxy.$Proxy8.getGroupsForUser(Unknown Source) at at at at 

The user is verified to be locally available on all nodes and in groups hadoop and hdfs.

[hdfs@hdp.test.cluster ~]$ id -gn hduser1 
[hdfs@hdp.test.cluster ~]$ id -Gn hduser1 
hadoop hdfs

ROOT CAUSE: User is not in Isilon

RESOLUTION: User must be added to Isilon.

isiloncluster1-1# isi auth groups create hduser1 --zone zone1 \ --provider local isiloncluster1-1 # isi auth users create hduser1 --primary-group hduser1 \ --zone zone1 --provider local \ --home-directory /ifs/isiloncluster1/zone1/hadoop/user/hduser1

Please reach out to EMC Isilon support if you have issues adding this user to Isilon.

0 Kudos