Stephen Chu created HDFS-7003:
---------------------------------

             Summary: 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


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)

Reply via email to