[ 
https://issues.apache.org/jira/browse/HIVE-24568?focusedWorklogId=527978&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-527978
 ]

ASF GitHub Bot logged work on HIVE-24568:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Dec/20 05:04
            Start Date: 24/Dec/20 05:04
    Worklog Time Spent: 10m 
      Work Description: wangyum opened a new pull request #1812:
URL: https://github.com/apache/hive/pull/1812


   ### What changes were proposed in this pull request?
   
   This pr fix guice compatibility issues.
   ```
   Exception in thread "main" java.lang.NoSuchMethodError: 
com.google.inject.util.Types.collectionOf(Ljava/lang/reflect/Type;)Ljava/lang/reflect/ParameterizedType;
   » at 
com.google.inject.multibindings.Multibinder.collectionOfProvidersOf(Multibinder.java:202)
   » at 
com.google.inject.multibindings.Multibinder$RealMultibinder.<init>(Multibinder.java:283)
   » at 
com.google.inject.multibindings.Multibinder$RealMultibinder.<init>(Multibinder.java:258)
   ```
   
   
https://github.com/google/guice/blob/4.1/core/src/com/google/inject/util/Types.java#L110-L112
   
https://github.com/google/guice/blob/4.0/core/src/com/google/inject/util/Types.java
   
   ### Why are the changes needed?
   
   Fix compatibility issues.
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   N/A.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 527978)
    Remaining Estimate: 0h
            Time Spent: 10m

> Fix guice compatibility issues
> ------------------------------
>
>                 Key: HIVE-24568
>                 URL: https://issues.apache.org/jira/browse/HIVE-24568
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Yuming Wang
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {noformat}
> Exception in thread "main" java.lang.NoSuchMethodError: 
> com.google.inject.util.Types.collectionOf(Ljava/lang/reflect/Type;)Ljava/lang/reflect/ParameterizedType;
> » at 
> com.google.inject.multibindings.Multibinder.collectionOfProvidersOf(Multibinder.java:202)
> » at 
> com.google.inject.multibindings.Multibinder$RealMultibinder.<init>(Multibinder.java:283)
> » at 
> com.google.inject.multibindings.Multibinder$RealMultibinder.<init>(Multibinder.java:258)
> {noformat}



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

Reply via email to