[ https://issues.apache.org/jira/browse/HDFS-7003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14140564#comment-14140564 ]
Hudson commented on HDFS-7003: ------------------------------ FAILURE: Integrated in Hadoop-Hdfs-trunk #1876 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1876/]) HDFS-7003. Add NFS Gateway support for reading and writing to encryption zones. (clamb via wang) (wang: rev 70be56d093022de9953e14a92dfa1a146bd9a290) * hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/OpenFileCtx.java * hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java * hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/DFSClientCache.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs-nfs/src/test/java/org/apache/hadoop/hdfs/nfs/nfs3/TestRpcProgramNfs3.java > 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)