Member since
09-23-2015
3
Posts
0
Kudos Received
0
Solutions
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?
... View more
Labels:
09-23-2015
06:25 PM
Oh, and of course deploy the YARN config
... View more
09-23-2015
06:22 PM
I had the same problem and worked with Cloudera support and eventually got a solution. You are right, by DEFAULT it looks in /etc/hadoop/conf for the jets3t properties files, and that is the wrong place to put it since it will get overwritten with each config deployment. The solution is to put it somewhere else, one each node, and make the required changes to the YARN config in CM: 1. Add your file location to yarn.application.classpath 2. Add the following to Gateway Client Environment Advanced Configuration Snippet for hadoop-env.sh (Safety Valve): HADOOP_CLASSPATH=<your file location>:$HADOOP_CLASSPATH 3. Restart YARN
... View more