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

Wei-Chiu Chuang commented on HDFS-11093:
----------------------------------------

Looks like it fails because of the following:

{noformat}
2016-12-07 00:51:50,706 [IPC Server handler 6 on 59757] INFO  ipc.Server 
(Server.java:logException(2697)) - IPC Server handler 6 on 59757, call Call#819 
Retry#0 org.apache.hadoop.hdfs.protocol.ClientProtocol.create from 
127.0.0.1:42394
org.apache.hadoop.hdfs.server.namenode.RetryStartFileException: Preconditions 
for creating a file failed because of a transient error, retry create later.
        at 
org.apache.hadoop.hdfs.server.namenode.FSDirEncryptionZoneOp.getFileEncryptionInfo(FSDirEncryptionZoneOp.java:330)
        at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInt(FSNamesystem.java:2249)
        at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFile(FSNamesystem.java:2175)
        at 
org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.create(NameNodeRpcServer.java:742)
        at 
org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.create(ClientNamenodeProtocolServerSideTranslatorPB.java:420)
        at 
org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
        at 
org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:522)
        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991)
        at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:867)
        at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:813)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:422)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1857)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2653)
{noformat}

The exception was thrown from here:
{code}
      // Path is within an EZ and we have provided encryption parameters.
      // Make sure that the generated EDEK matches the settings of the EZ.
      final String ezKeyName = zone.getKeyName();
      if (!ezKeyName.equals(ezInfo.edek.getEncryptionKeyName())) {
        throw new RetryStartFileException();
      }
{code}

> TestEncryptionZones#testStartFileRetry intermittently fails with timeout
> ------------------------------------------------------------------------
>
>                 Key: HDFS-11093
>                 URL: https://issues.apache.org/jira/browse/HDFS-11093
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>            Reporter: Xiao Chen
>         Attachments: PreCommit-HDFS-Build #17379 test - testStartFileRetry 
> [Jenkins].pdf
>
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to