Created 06-08-2017 09:31 AM
I am testing out Fuse on CDH 5.5.6, OEL7 with Kerberos authentication. I was able to install Fuse and mount to my cluster fine. I kinit so I am authenticated, and I can navigate within HDFS (via the Linux mount point I created) and copy files from HDFS to my local using standard Linux 'cd', 'ls' and 'cp'. But I can't seem to create files on HDFS, any attemp to 'cp' or 'touch' a file in a directory that my Kerberos user has permissions on fails with 'permission denied'.
I notice when viewing file ownership (using 'ls -l) via the Linux mount point to HDFS cluster, that everything shows as owner and group = nobody. When I view the same using 'hdfs dfs -ls', owner is my Kerberos principal user.
What is the problem? Does Fuse not work completely with Kerberos?
Created 06-08-2017 12:56 PM
Would you be able to run fuse connector in debug mode?
Like:
hadoop-fuse-dfs dfs://fuse.cloudera.com/user/user1 /tmp/mount3/ -odebug
It will then print logs in console, and it might shed some light why that failed. Let me know if you see something fishy.
Created 04-26-2018 04:31 AM
You could try py-hdfs-mount which supports Kerberos authentication: https://github.com/EDS-APHP/py-hdfs-mount