You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/01/01 02:18:55 UTC
[GitHub] [druid] wangyum opened a new pull request #10726: Upgrade Guava to 27.0-jre
wangyum opened a new pull request #10726:
URL: https://github.com/apache/druid/pull/10726
Fixes #10725.
### Description
Upgrade Guava to 27.0-jre to make it easy compatibility with Hive, Hadoop. Otherwise the exception:
```
Caused by: java.lang.NoSuchMethodError: com.google.common.net.HostAndPort.getHostText()Ljava/lang/String;
at org.apache.druid.server.DruidNode.init(DruidNode.java:159) ~[hive-it-druid-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
at org.apache.druid.server.DruidNode.<init>(DruidNode.java:124) ~[hive-it-druid-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
at org.apache.druid.server.DruidNode.<init>(DruidNode.java:93) ~[hive-it-druid-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
at org.apache.druid.server.DruidNode.withService(DruidNode.java:241) ~[hive-it-druid-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
at org.apache.druid.indexing.overlord.TaskMaster.<init>(TaskMaster.java:99) ~[hive-it-druid-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
at org.apache.druid.indexing.overlord.TaskMaster$$FastClassByGuice$$342a1c10.newInstance(<generated>) ~[hive-it-druid-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89) ~[hive-it-druid-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
```
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
[GitHub] [druid] belugabehr commented on pull request #10726: Upgrade Guava to 27.0-jre
Posted by GitBox <gi...@apache.org>.
belugabehr commented on pull request #10726:
URL: https://github.com/apache/druid/pull/10726#issuecomment-753367832
Duplicate of my PR #10683
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
[GitHub] [druid] wangyum closed pull request #10726: Upgrade Guava to 27.0-jre
Posted by GitBox <gi...@apache.org>.
wangyum closed pull request #10726:
URL: https://github.com/apache/druid/pull/10726
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
[GitHub] [druid] wangyum commented on pull request #10726: Upgrade Guava to 27.0-jre
Posted by GitBox <gi...@apache.org>.
wangyum commented on pull request #10726:
URL: https://github.com/apache/druid/pull/10726#issuecomment-753297310
It seem we need to upgrade openstack-swift first: https://github.com/apache/jclouds/blob/master/project/pom.xml#L230
```
java.lang.NoClassDefFoundError: com/google/common/base/Objects$ToStringHelper
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at org.easymock.internal.ReflectionUtils.findMethod(ReflectionUtils.java:106)
at org.easymock.internal.ObjectMethodsFilter.<init>(ObjectMethodsFilter.java:62)
at org.easymock.internal.MocksControl.createMock(MocksControl.java:98)
at org.easymock.internal.MocksControl.createMock(MocksControl.java:73)
at org.easymock.EasyMockSupport.mock(EasyMockSupport.java:77)
at org.easymock.EasyMockSupport.createMock(EasyMockSupport.java:364)
at org.apache.druid.storage.cloudfiles.CloudFilesObjectApiProxyTest.getTest(CloudFilesObjectApiProxyTest.java:42)
```
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org