hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yesha Vora (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6446) NFS: Different error messages for appending/writing data from read only mount
Date Mon, 21 Jul 2014 17:04:39 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14068789#comment-14068789
] 

Yesha Vora commented on HDFS-6446:
----------------------------------

[~abutala], The issue was not tested for trunk. It was tested with Hadoop 2.2.0. [~brandonli],
do you have any idea if this Jira is fixed recently?

> 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)

Mime
View raw message