hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Trezzo (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-9688) Test the effect of nested encryption zones in HDFS downgrade
Date Tue, 20 Sep 2016 19:57:20 GMT

    [ https://issues.apache.org/jira/browse/HDFS-9688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507419#comment-15507419
] 

Chris Trezzo edited comment on HDFS-9688 at 9/20/16 7:56 PM:
-------------------------------------------------------------

Hi [~zhz] [~andrew.wang]. TestNestedEncryptionZones#testNestedEncryptionZones seems to be
failing in [branch-2.6.5|https://builds.apache.org/job/Hadoop-branch2-parameterized/13/testReport/org.apache.hadoop.hdfs.server.namenode/TestNestedEncryptionZones/testNestedEncryptionZones/]
with the following error message:
{noformat}
java.lang.AssertionError: Should be able to rename the root dir of an EZ.
	at org.junit.Assert.fail(Assert.java:88)
	at org.apache.hadoop.hdfs.server.namenode.TestNestedEncryptionZones.testNestedEncryptionZones(TestNestedEncryptionZones.java:194)
{noformat}

{noformat}
2016-09-16 23:09:42,930 INFO  ipc.Server (Server.java:run(2061)) - IPC Server handler 9 on
60066, call org.apache.hadoop.hdfs.protocol.ClientProtocol.rename from 127.0.0.1:48977 Call#195
Retry#0
java.io.IOException: /topEZ/renamedFile can't be moved from encryption zone /topEZ to encryption
zone /topEZ/nestedEZ.
	at org.apache.hadoop.hdfs.server.namenode.EncryptionZoneManager.checkMoveValidity(EncryptionZoneManager.java:285)
	at org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedRenameTo(FSDirectory.java:563)
	at org.apache.hadoop.hdfs.server.namenode.FSDirectory.renameTo(FSDirectory.java:477)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.renameToInternal(FSNamesystem.java:3857)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.renameToInt(FSNamesystem.java:3819)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.renameTo(FSNamesystem.java:3784)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.rename(NameNodeRpcServer.java:787)
	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.rename(ClientNamenodeProtocolServerSideTranslatorPB.java:565)
	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:619)
	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:975)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2040)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2036)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1692)
	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2034)
{noformat}

I can reproduce this on my local machine as well. I am currently investigating this. Does
this failure ring any bells? I also see that this passes on branch-2.7 and branch-2.7.3. Thanks!


was (Author: ctrezzo):
Hi [~zhz] [~andrew.wang]. TestNestedEncryptionZones#testNestedEncryptionZones seems to be
failing in [branch-2.6.5|https://builds.apache.org/job/Hadoop-branch2-parameterized/13/testReport/org.apache.hadoop.hdfs.server.namenode/TestNestedEncryptionZones/testNestedEncryptionZones/]
with the following error message:
{noformat}
java.lang.AssertionError: Should be able to rename the root dir of an EZ.
	at org.junit.Assert.fail(Assert.java:88)
	at org.apache.hadoop.hdfs.server.namenode.TestNestedEncryptionZones.testNestedEncryptionZones(TestNestedEncryptionZones.java:194)
{noformat}

{noformat}
2016-09-16 23:09:42,930 INFO  ipc.Server (Server.java:run(2061)) - IPC Server handler 9 on
60066, call org.apache.hadoop.hdfs.protocol.ClientProtocol.rename from 127.0.0.1:48977 Call#195
Retry#0
java.io.IOException: /topEZ/renamedFile can't be moved from encryption zone /topEZ to encryption
zone /topEZ/nestedEZ.
	at org.apache.hadoop.hdfs.server.namenode.EncryptionZoneManager.checkMoveValidity(EncryptionZoneManager.java:285)
	at org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedRenameTo(FSDirectory.java:563)
	at org.apache.hadoop.hdfs.server.namenode.FSDirectory.renameTo(FSDirectory.java:477)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.renameToInternal(FSNamesystem.java:3857)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.renameToInt(FSNamesystem.java:3819)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.renameTo(FSNamesystem.java:3784)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.rename(NameNodeRpcServer.java:787)
	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.rename(ClientNamenodeProtocolServerSideTranslatorPB.java:565)
	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:619)
	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:975)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2040)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2036)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1692)
	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2034)
{noformat}

I can reproduce this on my local machine as well. I am currently investigating this. Does
this failure ring any bells? I also see that this passes on branch-2.7, but I haven't checked
branch-2.7.3 yet. Do you know if this was fixed sometime between 2.7.3 and the current branch-2.7?
Thanks!

> Test the effect of nested encryption zones in HDFS downgrade
> ------------------------------------------------------------
>
>                 Key: HDFS-9688
>                 URL: https://issues.apache.org/jira/browse/HDFS-9688
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: encryption, test
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>             Fix For: 2.7.3, 2.6.5
>
>         Attachments: HDFS-9688-branch-2.6.00.patch, HDFS-9688-branch-2.6.01.patch, HDFS-9688-branch-2.7.03.patch,
HDFS-9688-branch-2.7.04.patch, HDFS-9688-branch-2.8.03.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message