hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 靳峥 (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HIVE-15962) hiveServer2 sometime throw Exception duplicate key
Date Wed, 01 Mar 2017 09:12:45 GMT

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

靳峥 commented on HIVE-15962:
---------------------------

This is because the conf file of your cluster has duplicate configuration.

> hiveServer2 sometime throw Exception duplicate key
> --------------------------------------------------
>
>                 Key: HIVE-15962
>                 URL: https://issues.apache.org/jira/browse/HIVE-15962
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 1.1.0
>            Reporter: liguirong
>            Priority: Critical
>
> org.apache.hive.service.cli.HiveSQLException: Error running query: java.lang.IllegalArgumentException:
duplicate key: isCompatibleWith_(HiveConf, )
>         at org.apache.hive.service.cli.operation.SQLOperation.prepare(SQLOperation.java:168)
>         at org.apache.hive.service.cli.operation.SQLOperation.runInternal(SQLOperation.java:206)
>         at org.apache.hive.service.cli.operation.Operation.run(Operation.java:316)
>         at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementInternal(HiveSessionImpl.java:424)
>         at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:395)
>         at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.apache.hive.service.cli.session.HiveSessionProxy.invoke(HiveSessionProxy.java:78)
>         at org.apache.hive.service.cli.session.HiveSessionProxy.access$000(HiveSessionProxy.java:36)
>         at org.apache.hive.service.cli.session.HiveSessionProxy$1.run(HiveSessionProxy.java:63)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:415)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1693)
>         at org.apache.hive.service.cli.session.HiveSessionProxy.invoke(HiveSessionProxy.java:59)
>         at com.sun.proxy.$Proxy22.executeStatement(Unknown Source)
>         at org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:245)
>         at org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:503)
>         at org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1313)
>         at org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1298)
>         at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>         at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>         at org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56)
>         at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IllegalArgumentException: duplicate key: isCompatibleWith_(HiveConf,
)
>         at com.google.common.base.Preconditions.checkArgument(Preconditions.java:115)
>         at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:72)
>         at com.google.common.collect.ImmutableMap.copyOf(ImmutableMap.java:289)
>         at org.apache.hadoop.hive.ql.metadata.Hive.dumpAndClearMetaCallTiming(Hive.java:3324)
>         at org.apache.hadoop.hive.ql.Driver.dumpMetaCallTimingWithoutEx(Driver.java:554)
>         at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:535)
>         at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:312)
>         at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1201)
>         at org.apache.hadoop.hive.ql.Driver.compileAndRespond(Driver.java:1188)
>         at org.apache.hive.service.cli.operation.SQLOperation.prepare(SQLOperation.java:134)
>         ... 26 more



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message