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

Hudson commented on HDFS-12931:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13445 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/13445/])
HDFS-12931. Handle InvalidEncryptionKeyException during (xyao: rev 
3ba985997d1dc37e5ba017dd0ab1d36083b5f77b)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestEncryptedTransfer.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/FileChecksumHelper.java


> Handle InvalidEncryptionKeyException during 
> DistributedFileSystem#getFileChecksum
> ---------------------------------------------------------------------------------
>
>                 Key: HDFS-12931
>                 URL: https://issues.apache.org/jira/browse/HDFS-12931
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: encryption
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>             Fix For: 3.1.0
>
>         Attachments: HDFS-12931.001.patch, HDFS-12931.002.patch, 
> HDFS-12931.003.patch
>
>
> Hive external table create fails because of HDFS fails to fetch  block MD5 
> checksum.
> This happens because of the InvalidEncryptionKeyException.
> {code}
> org.apache.hadoop.hdfs.protocol.datatransfer.InvalidEncryptionKeyException: 
> Can't re-compute encryption key for nonce, since the required block key 
> (keyID=-1675775329) doesn't exist. Current key: 1496422662
>       at 
> org.apache.hadoop.hdfs.protocol.datatransfer.sasl.DataTransferSaslUtil.readSaslMessageAndNegotiatedCipherOption(DataTransferSaslUtil.java:417)
>       at 
> org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferClient.doSaslHandshake(SaslDataTransferClient.java:478)
>       at 
> org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferClient.getEncryptedStreams(SaslDataTransferClient.java:300)
>       at 
> org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferClient.send(SaslDataTransferClient.java:241)
>       at 
> org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferClient.newSocketSend(SaslDataTransferClient.java:142)
>       at org.apache.hadoop.hdfs.DFSClient.connectToDN(DFSClient.java:2450)
>       at org.apache.hadoop.hdfs.DFSClient.getFileChecksum(DFSClient.java:2310)
>       at 
> org.apache.hadoop.hdfs.DistributedFileSystem$30.doCall(DistributedFileSystem.java:1569)
>       at 
> org.apache.hadoop.hdfs.DistributedFileSystem$30.doCall(DistributedFileSystem.java:1565)
>       at 
> org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
>       at 
> org.apache.hadoop.hdfs.DistributedFileSystem.getFileChecksum(DistributedFileSystem.java:1577)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to