hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Lamb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-7003) Add NFS Gateway support for reading and writing to encryption zones
Date Thu, 18 Sep 2014 01:37:34 GMT

     [ https://issues.apache.org/jira/browse/HDFS-7003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Charles Lamb updated HDFS-7003:
-------------------------------
    Attachment: HDFS-7003.003.patch

Thanks for the review [~andrew.wang],

That's a good suggestion, but unfortunately, there is no associated message with that exception.
However, as you noticed in our offline conversation, it is an EOFException so I've changed
the catch to be that instead of IOException. We'll see what Jenkins has to say.


> Add NFS Gateway support for reading and writing to encryption zones
> -------------------------------------------------------------------
>
>                 Key: HDFS-7003
>                 URL: https://issues.apache.org/jira/browse/HDFS-7003
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: encryption, nfs
>    Affects Versions: 2.6.0
>            Reporter: Stephen Chu
>            Assignee: Charles Lamb
>         Attachments: HDFS-7003.001.patch, HDFS-7003.002.patch, HDFS-7003.003.patch
>
>
> Currently, reading and writing within encryption zones does not work through the NFS
gateway.
> For example, we have an encryption zone {{/enc}}. Here's the difference of reading the
file from hadoop fs and the NFS gateway:
> {code}
> [hdfs@schu-enc2 ~]$ hadoop fs -cat /enc/hi
> hi
> [hdfs@schu-enc2 ~]$ cat /hdfs_nfs/enc/hi
> ??
> {code}
> If we write a file using the NFS gateway, we'll see behavior like this:
> {code}
> [hdfs@schu-enc2 ~]$ echo "hello" > /hdfs_nfs/enc/hello
> [hdfs@schu-enc2 ~]$ cat /hdfs_nfs/enc/hello
> hello
> [hdfs@schu-enc2 ~]$ hdfs dfs -cat /enc/hello
> ???tp[hdfs@schu-enc2 ~]$ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message