You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Brandon Li (JIRA)" <ji...@apache.org> on 2014/05/23 01:05:01 UTC
[jira] [Updated] (HDFS-6446) NFS: Different error messages for
appending/writing data from read only mount
[ https://issues.apache.org/jira/browse/HDFS-6446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Li updated HDFS-6446:
-----------------------------
Component/s: nfs
> 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
>
> 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)