Replies: 3
We have a ten node hadoop cluster running Hortonworks Data Platform 2.1 on CentOS 6.5 and we are trying to get the NFS to HDFS gateway up and running. First we followed the instructions here:
We used the Ambari client to make sure the config file changes went to all the nodes and they do appear to have migrated across the cluster. I believe we are using the user hdfs throughout the system. The following properties have been set in core-sites.xml:
hadoop.proxyuser.nfsserver.groups: hdfs
hadoop.proxyuser.nfsserver.hosts: hnode003
I run the command “hadoop nfs3” as user hdfs. The command “showmount -e hnode003” outputs:
Export list for hnode003:
/ *
in /etc/fstab I have the following line appended to the file:
hnode003:/ /media/hdfs nfs tcp,nfsvers=3,proto=tcp,nolock,user 0 0
Then when I issue the command as user hdfs “mount /media/hdfs” I get the error org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: hdfs is not allowed to impersonate root
Any ideas? Thanks for your help.