I am getting an error similar to the one asked about in the question "Problems with Kerberos (NFS and File View)" except my File View and Hadoop fs commands work fine with Kerberos. I have used the Kerberos Wizard and checks completed with no errors. I double checked the settings of the NFS Gateway to ensure it was correctly configured by the Wizard and it matched the instructions for the version of HDP I am running (2.6.1). Here is what I get from the edge node when attempting a mount [root@smhadoop-edge ~]# klist klist: No credentials cache found (filename: /tmp/krb5cc_0)
[root@smhadoop-edge ~]# kinit WilsonC
Password for WilsonC@NA.CORNING.COM:
[root@smhadoop-edge ~]# klist
Ticket cache: FILE:/tmp/krb5cc_0 Default principal: WilsonC@NA.CORNING.COM
Valid starting Expires Service principal 07/16/2017 12:59:11 07/16/2017 22:59:11 krbtgt/NA.CORNING.COM@NA.CORNING.COM renew until 07/16/2017 22:59:11
[root@smhadoop-edge ~]# mount -vvv -o nolock,sec=krb5,noatime smhadoop01:/ /mnt
mount.nfs: timeout set for Sun Jul 16 13:01:39 2017
mount.nfs: trying text-based options 'nolock,sec=krb5,vers=4,addr=10.180.104.161,clientaddr=10.180.104.38'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'nolock,sec=krb5,addr=10.180.104.161'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.180.104.161 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 10.180.104.161 prog 100005 vers 3 prot UDP port 4242
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting smhadoop01:/
However the normal Hadoop commands work fine with Kerberos [root@smhadoop-edge ~]# hadoop fs -mkdir /user/WilsonC/testing
[root@smhadoop-edge ~]# hadoop fs -ls /user/WilsonC
Found 1 items drwxr-xr-x - WilsonC hdfs 0 2017-07-16 13:02 /user/WilsonC/testing
Any help is much appreciated. I am also working on getting Kerberos to work correctly with NFS on Windows if anybody has any pointers.
... View more