[ https://issues.apache.org/jira/browse/HDFS-7003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14139591#comment-14139591 ]
Charles Lamb commented on HDFS-7003: ------------------------------------ I ran the three tests that failed in jenkins and they all passed locally for me. Thanks for the review Andrew. > 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 > Fix For: 2.6.0 > > 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)