[ https://issues.apache.org/jira/browse/HADOOP-17452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuming Wang updated HADOOP-17452: --------------------------------- Description: Upgrade guice to 4.2.3 to fix compatibility issue: {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) » at com.google.inject.multibindings.Multibinder.newRealSetBinder(Multibinder.java:178) » at com.google.inject.multibindings.Multibinder.newSetBinder(Multibinder.java:150) » at org.apache.druid.guice.LifecycleModule.getEagerBinder(LifecycleModule.java:115) » at org.apache.druid.guice.LifecycleModule.configure(LifecycleModule.java:121) » at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) » at com.google.inject.spi.Elements.getElements(Elements.java:110) » at com.google.inject.util.Modules$OverrideModule.configure(Modules.java:177) » at com.google.inject.AbstractModule.configure(AbstractModule.java:62) » at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) » at com.google.inject.spi.Elements.getElements(Elements.java:110) » at com.google.inject.util.Modules$OverrideModule.configure(Modules.java:177) » at com.google.inject.AbstractModule.configure(AbstractModule.java:62) » at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) » at com.google.inject.spi.Elements.getElements(Elements.java:110) » at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138) » at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104) » at com.google.inject.Guice.createInjector(Guice.java:96) » at com.google.inject.Guice.createInjector(Guice.java:73) » at com.google.inject.Guice.createInjector(Guice.java:62) » at org.apache.druid.initialization.Initialization.makeInjectorWithModules(Initialization.java:431) » at org.apache.druid.cli.GuiceRunnable.makeInjector(GuiceRunnable.java:69) » at org.apache.druid.cli.ServerRunnable.run(ServerRunnable.java:58) » at org.apache.druid.cli.Main.main(Main.java:113) {noformat} was: Upgrade guice to 4.1.0 to fix compatibility issue: {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) » at com.google.inject.multibindings.Multibinder.newRealSetBinder(Multibinder.java:178) » at com.google.inject.multibindings.Multibinder.newSetBinder(Multibinder.java:150) » at org.apache.druid.guice.LifecycleModule.getEagerBinder(LifecycleModule.java:115) » at org.apache.druid.guice.LifecycleModule.configure(LifecycleModule.java:121) » at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) » at com.google.inject.spi.Elements.getElements(Elements.java:110) » at com.google.inject.util.Modules$OverrideModule.configure(Modules.java:177) » at com.google.inject.AbstractModule.configure(AbstractModule.java:62) » at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) » at com.google.inject.spi.Elements.getElements(Elements.java:110) » at com.google.inject.util.Modules$OverrideModule.configure(Modules.java:177) » at com.google.inject.AbstractModule.configure(AbstractModule.java:62) » at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) » at com.google.inject.spi.Elements.getElements(Elements.java:110) » at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138) » at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104) » at com.google.inject.Guice.createInjector(Guice.java:96) » at com.google.inject.Guice.createInjector(Guice.java:73) » at com.google.inject.Guice.createInjector(Guice.java:62) » at org.apache.druid.initialization.Initialization.makeInjectorWithModules(Initialization.java:431) » at org.apache.druid.cli.GuiceRunnable.makeInjector(GuiceRunnable.java:69) » at org.apache.druid.cli.ServerRunnable.run(ServerRunnable.java:58) » at org.apache.druid.cli.Main.main(Main.java:113) {noformat} > Upgrade guice to 4.2.3 > ---------------------- > > Key: HADOOP-17452 > URL: https://issues.apache.org/jira/browse/HADOOP-17452 > Project: Hadoop Common > Issue Type: Improvement > Reporter: Yuming Wang > Priority: Major > Labels: pull-request-available > Time Spent: 1h > Remaining Estimate: 0h > > Upgrade guice to 4.2.3 to fix compatibility issue: > {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) > » at > com.google.inject.multibindings.Multibinder.newRealSetBinder(Multibinder.java:178) > » at > com.google.inject.multibindings.Multibinder.newSetBinder(Multibinder.java:150) > » at > org.apache.druid.guice.LifecycleModule.getEagerBinder(LifecycleModule.java:115) > » at > org.apache.druid.guice.LifecycleModule.configure(LifecycleModule.java:121) > » at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) > » at com.google.inject.spi.Elements.getElements(Elements.java:110) > » at com.google.inject.util.Modules$OverrideModule.configure(Modules.java:177) > » at com.google.inject.AbstractModule.configure(AbstractModule.java:62) > » at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) > » at com.google.inject.spi.Elements.getElements(Elements.java:110) > » at com.google.inject.util.Modules$OverrideModule.configure(Modules.java:177) > » at com.google.inject.AbstractModule.configure(AbstractModule.java:62) > » at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) > » at com.google.inject.spi.Elements.getElements(Elements.java:110) > » at > com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138) > » at > com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104) > » at com.google.inject.Guice.createInjector(Guice.java:96) > » at com.google.inject.Guice.createInjector(Guice.java:73) > » at com.google.inject.Guice.createInjector(Guice.java:62) > » at > org.apache.druid.initialization.Initialization.makeInjectorWithModules(Initialization.java:431) > » at org.apache.druid.cli.GuiceRunnable.makeInjector(GuiceRunnable.java:69) > » at org.apache.druid.cli.ServerRunnable.run(ServerRunnable.java:58) > » at org.apache.druid.cli.Main.main(Main.java:113) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org