hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11762) TestHCatLoaderEncryption failures when using Hadoop 2.7
Date Wed, 23 Sep 2015 02:06:04 GMT

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

Prasanth Jayachandran commented on HIVE-11762:
----------------------------------------------

Created HIVE-11929.

> TestHCatLoaderEncryption failures when using Hadoop 2.7
> -------------------------------------------------------
>
>                 Key: HIVE-11762
>                 URL: https://issues.apache.org/jira/browse/HIVE-11762
>             Project: Hive
>          Issue Type: Bug
>          Components: Shims, Tests
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>             Fix For: 1.3.0, 2.0.0
>
>         Attachments: HIVE-11762.1.patch, HIVE-11762.2.patch, HIVE-11762.3.patch, HIVE-11762.4.patch
>
>
> When running TestHCatLoaderEncryption with -Dhadoop23.version=2.7.0, we get the following
error during setup():
> {noformat}
> testReadDataFromEncryptedHiveTableByPig[5](org.apache.hive.hcatalog.pig.TestHCatLoaderEncryption)
 Time elapsed: 3.648 sec  <<< ERROR!
> java.lang.NoSuchMethodError: org.apache.hadoop.hdfs.DFSClient.setKeyProvider(Lorg/apache/hadoop/crypto/key/KeyProviderCryptoExtension;)V
> 	at org.apache.hadoop.hive.shims.Hadoop23Shims.getMiniDfs(Hadoop23Shims.java:534)
> 	at org.apache.hive.hcatalog.pig.TestHCatLoaderEncryption.initEncryptionShim(TestHCatLoaderEncryption.java:252)
> 	at org.apache.hive.hcatalog.pig.TestHCatLoaderEncryption.setup(TestHCatLoaderEncryption.java:200)
> {noformat}
> It looks like between Hadoop 2.6 and Hadoop 2.7, the argument to DFSClient.setKeyProvider()
changed:
> {noformat}
>    @VisibleForTesting
> -  public void setKeyProvider(KeyProviderCryptoExtension provider) {
> -    this.provider = provider;
> +  public void setKeyProvider(KeyProvider provider) {
> {noformat}



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

Mime
View raw message