Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.2.0
-
None
-
None
Description
steps:
1) set dfs.nfs.exports.allowed.hosts = <nfs_client> ro
2) Restart nfs server
3) Append data on file present on hdfs from read only mount point
Append data
bash$ cat /tmp/tmp_10MB.txt >> /tmp/tmp_mnt/expected_data_stream cat: write error: Input/output error
4) Write data from read only mount point
Copy data
bash$ cp /tmp/tmp_10MB.txt /tmp/tmp_mnt/tmp/ cp: cannot create regular file `/tmp/tmp_mnt/tmp/tmp_10MB.txt': Permission denied
Both operations are treated differently. Copying data returns valid error message: 'Permission denied' . Though append data does not return valid error message
Attachments
Issue Links
- is duplicated by
-
HDFS-6411 nfs-hdfs-gateway mount raises I/O error and hangs when a unauthorized user attempts to access it
- Closed