[ https://issues.apache.org/jira/browse/HDFS-6446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Li resolved HDFS-6446. ------------------------------ Resolution: Duplicate > NFS: Different error messages for appending/writing data from read only mount > ----------------------------------------------------------------------------- > > Key: HDFS-6446 > URL: https://issues.apache.org/jira/browse/HDFS-6446 > Project: Hadoop HDFS > Issue Type: Bug > Components: nfs > Affects Versions: 2.2.0 > Reporter: Yesha Vora > Assignee: Brandon Li > > 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 > {noformat} > bash$ cat /tmp/tmp_10MB.txt >> /tmp/tmp_mnt/expected_data_stream > cat: write error: Input/output error > {noformat} > 4) Write data from read only mount point > Copy data > {noformat} > bash$ cp /tmp/tmp_10MB.txt /tmp/tmp_mnt/tmp/ > cp: cannot create regular file `/tmp/tmp_mnt/tmp/tmp_10MB.txt': Permission > denied > {noformat} > Both operations are treated differently. Copying data returns valid error > message: 'Permission denied' . Though append data does not return valid error > message -- This message was sent by Atlassian JIRA (v6.3.4#6332)