You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Yesha Vora (JIRA)" <ji...@apache.org> on 2014/05/23 00:31:03 UTC

[jira] [Created] (HDFS-6446) NFS: Different error messages for appending/writing data from read only mount

Yesha Vora created HDFS-6446:
--------------------------------

             Summary: 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
            Reporter: Yesha Vora


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.2#6252)