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 0247711FBE for ; Tue, 9 Sep 2014 11:24:33 +0000 (UTC) Received: (qmail 57567 invoked by uid 500); 9 Sep 2014 11:24:32 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 57517 invoked by uid 500); 9 Sep 2014 11:24:32 -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 57506 invoked by uid 99); 9 Sep 2014 11:24:32 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Sep 2014 11:24:32 +0000 Date: Tue, 9 Sep 2014 11:24:32 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6951) Correctly persist raw namespace xattrs to edit log and fsimage 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-6951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14126896#comment-14126896 ] Hudson commented on HDFS-6951: ------------------------------ FAILURE: Integrated in Hadoop-Yarn-trunk #675 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/675/]) HDFS-6951. Correctly persist raw namespace xattrs to edit log and fsimage. Contributed by Charles Lamb. (wang: rev 04915a08141bbe71bdef26e3f539aa8b76f89ac7) * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/FSXAttrBaseTest.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/EncryptionZoneManager.java * hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestEncryptionZones.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatPBINode.java * hadoop-hdfs-project/hadoop-hdfs/src/main/proto/fsimage.proto * hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeLayoutVersion.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java Update CHANGES.txt for HDFS-6951 (wang: rev 7498dd790eca39c142229a75c2801b5bf4b94983) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Correctly persist raw namespace xattrs to edit log and fsimage > -------------------------------------------------------------- > > Key: HDFS-6951 > URL: https://issues.apache.org/jira/browse/HDFS-6951 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: encryption > Affects Versions: 3.0.0 > Reporter: Stephen Chu > Assignee: Charles Lamb > Fix For: 2.6.0 > > Attachments: HDFS-6951-editsStored-binary, HDFS-6951-prelim.002.patch, HDFS-6951-testrepo.patch, HDFS-6951.001.patch, HDFS-6951.002.patch, HDFS-6951.003.patch, HDFS-6951.004.patch, HDFS-6951.005.patch, HDFS-6951.006.patch, HDFS-6951.007.patch, editsStored > > > Currently, when users save namespace and restart the NameNode, pre-existing encryption zones will be wiped out. > I could reproduce this on a pseudo-distributed cluster: > * Create an encryption zone > * List encryption zones and verify the newly created zone is present > * Save the namespace > * Kill and restart the NameNode > * List the encryption zones and you'll find the encryption zone is missing > I've attached a test case for {{TestEncryptionZones}} that reproduces this as well. Removing the saveNamespace call will get the test to pass. -- This message was sent by Atlassian JIRA (v6.3.4#6332)