Hi Team ,  As part of NFS Evaluation , i have installed NFS Gateway Service
in Secure Cluster ..


Config in Gateway Machine:
<property>
        <name>nfs.file.dump.dir</name>
        <value>/tmp/.hdfs-nfs</value>
   </property>
   <property>
        <name>nfs.keytab.file</name>
        <value>/etc/hadoop/hadoop.keytab</value>
   </property>
   <property>
        <name>nfs.kerberos.principal</name>
        <value>hadoop/_h...@apd.xxxx.com</value>
   </property>


NFS3 Service Started Successfully , but when i try to Mount the root /
directory it failed with below error ..

WARN org.apache.hadoop.hdfs.nfs.nfs3.RpcProgramNfs3: Exception
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException):
User root (auth:PROXY) via hadoop/
phxdpehdc30dn0029.stratus.phx.ebay....@apd.ebay.com (auth:KERBEROS)
 is not authorized for protocol interface
org.apache.hadoop.hdfs.protocol.ClientProtocol, *expected client Kerberos
principal is null*


mount command:
*mount *-t nfs -o vers=3,proto=tcp,nolock,noacl,sync gatewaymachine:/
hdfs_space/
*mount.nfs: mount system call failed*


What could be the issue here ??  I followed
https://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-hdfs/HdfsNfsGateway.html
this documentation ..


--Senthil

Reply via email to