You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "David Lavati (Jira)" <ji...@apache.org> on 2019/12/18 10:11:00 UTC

[jira] [Commented] (HIVE-22656) tried to access method com.google.common.collect.Iterators.emptyIterator()Lcom/google/common/collect/UnmodifiableIterator; from class org.apache.hadoop.hive.ql.exec.FetchOperator

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

David Lavati commented on HIVE-22656:
-------------------------------------

Hi [~markyao], Apache Hive 3.1.2 uses guava 19 (see https://github.com/apache/hive/blob/8190d2be7b7165effa62bd21b7d60ef81fb0e4af/pom.xml#L147 )

Guava has a lot of breaking changes between 14 and 16 as far as I remember, using 14 probably won't work, probably guava 19 will, if you don't have other conflicts.

Bumping guava in hive is not an entirely easy task currently, see HIVE-21569.

>  tried to access method com.google.common.collect.Iterators.emptyIterator()Lcom/google/common/collect/UnmodifiableIterator; from class org.apache.hadoop.hive.ql.exec.FetchOperator
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-22656
>                 URL: https://issues.apache.org/jira/browse/HIVE-22656
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.1.2
>         Environment: HADOOP 3.2.1  HIVE 3.1.2  guava-28.1-jre
>            Reporter: yaotailin
>            Priority: Critical
>
> (1) I use jdbc way to query a table but get a exception.*tried to access method com.google.common.collect.Iterators.emptyIterator()Lcom/google/common/collect/UnmodifiableIterator; from class org.apache.hadoop.hive.ql.exec.FetchOperator*
> (2) I try  to degraded  guava 14.01,  I can't run *bin/hiveserver2* 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)