[ https://issues.apache.org/jira/browse/HDFS-6951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14112954#comment-14112954 ]
Hadoop QA commented on HDFS-6951: --------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12664722/HDFS-6951.001.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 2 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. There were no new javadoc warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs: org.apache.hadoop.hdfs.web.TestWebHdfsFileSystemContract org.apache.hadoop.hdfs.server.namenode.ha.TestPipelinesFailover {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/7790//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/7790//console This message is automatically generated. > Saving namespace and restarting NameNode will remove existing encryption zones > ------------------------------------------------------------------------------ > > 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 > Attachments: HDFS-6951-testrepo.patch, HDFS-6951.001.patch > > > 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.2#6252)