Cannot Write to sn Encrypted NFS Zone on BDA
(Doc ID 2057221.1)
Last updated on AUGUST 03, 2021
Applies to:
Big Data Appliance Integrated Software - Version 4.2.0 and laterLinux x86-64
Symptoms
NOTE: In the examples that follow, user details, cluster names, hostnames, directory paths, filenames, etc. represent a fictitious sample (and are used to provide an illustrative example only). Any similarity to actual persons, or entities, living or dead, is purely coincidental and not intended in any manner.
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
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
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
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
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |