hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <>
Subject [jira] [Created] (HIVE-11762) TestHCatLoaderEncryption failures when using Hadoop 2.7
Date Tue, 08 Sep 2015 20:11:45 GMT
Jason Dere created HIVE-11762:

             Summary: TestHCatLoaderEncryption failures when using Hadoop 2.7
                 Key: HIVE-11762
             Project: Hive
          Issue Type: Bug
          Components: Shims, Tests
            Reporter: Jason Dere

When running TestHCatLoaderEncryption with -Dhadoop23.version=2.7.0, we get the following
error during setup():

 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(
	at org.apache.hive.hcatalog.pig.TestHCatLoaderEncryption.initEncryptionShim(
	at org.apache.hive.hcatalog.pig.TestHCatLoaderEncryption.setup(

It looks like between Hadoop 2.6 and Hadoop 2.7, the argument to DFSClient.setKeyProvider()
-  public void setKeyProvider(KeyProviderCryptoExtension provider) {
-    this.provider = provider;
+  public void setKeyProvider(KeyProvider provider) {

This message was sent by Atlassian JIRA

View raw message