Cannot Write to sn Encrypted NFS Zone on BDA (Doc ID 2057221.1)

Last updated on SEPTEMBER 18, 2015

Applies to:

Big Data Appliance Integrated Software - Version 4.2.0 and later
Linux x86-64

Symptoms

The 'hdfs' user is unable to write to an encrypted zone with the NFS Gateway after making the NFS server side HDFS location an encrypted zone.

When trying to copy into the encrypted zone getting permission denied error:

# cp test.txt /root/nfszone/
cp: cannot create regular file `/root/nfszone/test.txt': Permission denied


Also no data is copying. It is showing 0 byte files.

# ls -ltrs /root/nfszone/
total 0
0 -rw-r--r-- 1 root nfsgroup 0 Aug 25 14:20 b
0 -rwxr-xr-x 1 root nfsgroup 0 Aug 31 15:45 test.txt


The hdfs location shows the following after using the 'hadoop fs -put' command:

# hadoop fs -ls /nfszone
Found 2 items
-rw-r--r-- 3 root nfsgroup 0 2015-08-25 14:20 /nfszone/b
-rwxr-xr-x 3 root nfsgroup 0 2015-08-31 15:45 /nfszone/test.txt

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms