hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thejas Nair <the...@hortonworks.com>
Subject Re: Is Hive 1.1.0 compatible with Hadoop 2.4.0?
Date Thu, 12 Mar 2015 19:48:51 GMT
Looks like this would need a code change. I canĀ¹t think of any workaround.
Can you please open a jira ?
This change is part of the changes to support the encryption feature. Hive
1.0.0 should not have this issue.

-Thejas


On 3/12/15, 2:34 AM, "Vivek Shrivastava" <vivshrivastava@gmail.com> wrote:

>Hi,
>
>It seems Hive 1.1.0 does not work with Apache Hadoop 2.4.0. I am getting
>this exception while running hive command. Even the build was  not
>successful if I use hadoop version 2.4.0 instead of 2.6.0 in the pom file.
>Is there any way I can run it on Hadoop 2.4.0?
>
>Thanks,
>
>Vivek
>
>Exception in thread "main" java.lang.NoSuchMethodError:
>org.apache.hadoop.hdfs.DFSClient.getKeyProvider()Lorg/apache/hadoop/crypto
>/key/KeyProvider;
>
>        at
>org.apache.hadoop.hive.shims.Hadoop23Shims$HdfsEncryptionShim.<init>(Hadoo
>p23Shims.java:1152)
>
>        at
>org.apache.hadoop.hive.shims.Hadoop23Shims.createHdfsEncryptionShim(Hadoop
>23Shims.java:1279)
>
>        at
>org.apache.hadoop.hive.ql.session.SessionState.getHdfsEncryptionShim(Sessi
>onState.java:392)
>
>        at
>org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.isPathEncrypted(SemanticA
>nalyzer.java:1756)
>
>        at
>org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getStagingDirectoryPathna
>me(SemanticAnalyzer.java:1875)
>
>        at
>org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getMetaData(SemanticAnaly
>zer.java:1689)
>
>        at
>org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getMetaData(SemanticAnaly
>zer.java:1427)
>
>        at
>org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genResolvedParseTree(Sema
>nticAnalyzer.java:10132)
>
>        at
>org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticA
>nalyzer.java:10147)
>
>        at
>org.apache.hadoop.hive.ql.parse.CalcitePlanner.analyzeInternal(CalcitePlan
>ner.java:192)
>
>        at
>org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticA
>nalyzer.java:222)
>
>        at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:421)
>
>        at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:307)
>
>        at
>org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1112)
>
>        at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1160)
>
>        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1049)
>
>        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1039)
>
>        at
>org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:207)
>
>        at
>org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:159)
>
>        at
>org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:370)
>
>        at
>org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:754)
>
>        at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:675)
>
>        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:615)
>
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>        at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>57)
>
>        at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:43)
>
>        at java.lang.reflect.Method.invoke(Method.java:606)
>
>        at org.apache.hadoop.util.RunJar.main(RunJar.java:212)


Mime
View raw message