Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E43FB115DF for ; Fri, 19 Sep 2014 11:34:51 +0000 (UTC) Received: (qmail 2575 invoked by uid 500); 19 Sep 2014 11:34:51 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 2530 invoked by uid 500); 19 Sep 2014 11:34:51 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 2517 invoked by uid 99); 19 Sep 2014 11:34:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2014 11:34:51 +0000 Date: Fri, 19 Sep 2014 11:34:51 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7003) Add NFS Gateway support for reading and writing to encryption zones MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-7003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14140357#comment-14140357 ] Hudson commented on HDFS-7003: ------------------------------ SUCCESS: Integrated in Hadoop-Yarn-trunk #685 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/685/]) 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/DFSClientCache.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java * hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/OpenFileCtx.java * 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)