Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17452

Upgrade guice to 4.2.3

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Upgrade guice to 4.2.3 to fix compatibility issue:

      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)
      

      Attachments

        Issue Links

          Activity

            People

              yumwang Yuming Wang
              yumwang Yuming Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 50m
                  2h 50m