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 2022/01/24 23:35:53 UTC

[GitHub] [druid] kphan102 opened a new issue #12196: Build fails with error `Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (pull-deps) on project distribution: Command execution failed`

kphan102 opened a new issue #12196:
URL: https://github.com/apache/druid/issues/12196


   Please provide a detailed title (e.g. "Broker crashes when using TopN query with Bound filter" instead of just "Broker crashes").
   
   ### Affected Version
   
   Druid master branch (0.23-SNAPSHOT)
   
   ### Description
   
   I tried to run the clean maven install with the command `mvn clean install -Pdist-hadoop3,hadoop3 -DskipTests`.
   
   Distribution steps failed with error below:
   ```
   [INFO] --- exec-maven-plugin:1.6.0:exec (pull-deps) @ distribution ---
   Exception in thread "main" java.lang.ExceptionInInitializerError
   	at com.google.inject.internal.cglib.reflect.$FastClass$Generator.getProtectionDomain(FastClass.java:73)
   	at com.google.inject.internal.cglib.core.$AbstractClassGenerator.create(AbstractClassGenerator.java:206)
   	at com.google.inject.internal.cglib.reflect.$FastClass$Generator.create(FastClass.java:65)
   	at com.google.inject.internal.BytecodeGen.newFastClassForMember(BytecodeGen.java:252)
   	at com.google.inject.internal.BytecodeGen.newFastClassForMember(BytecodeGen.java:203)
   	at com.google.inject.internal.ProviderMethod.create(ProviderMethod.java:69)
   	at com.google.inject.internal.ProviderMethodsModule.createProviderMethod(ProviderMethodsModule.java:275)
   	at com.google.inject.internal.ProviderMethodsModule.getProviderMethods(ProviderMethodsModule.java:144)
   	at com.google.inject.internal.ProviderMethodsModule.configure(ProviderMethodsModule.java:123)
   	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340)
   	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:349)
   	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:99)
   	at com.google.inject.Guice.createInjector(Guice.java:73)
   	at org.apache.druid.guice.GuiceInjectors.makeStartupInjector(GuiceInjectors.java:58)
   	at org.apache.druid.cli.Main.main(Main.java:96)
   Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @2eb231a6
   	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
   	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
   	at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
   	at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
   	at com.google.inject.internal.cglib.core.$ReflectUtils$1.run(ReflectUtils.java:52)
   	at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
   	at com.google.inject.internal.cglib.core.$ReflectUtils.<clinit>(ReflectUtils.java:42)
   	... 18 more
   [ERROR] Command execution failed.
   ```
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

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] kphan102 commented on issue #12196: Build fails with error `Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (pull-deps) on project distribution: Command execution failed`

Posted by GitBox <gi...@apache.org>.
kphan102 commented on issue #12196:
URL: https://github.com/apache/druid/issues/12196#issuecomment-1020840885


   I am using java 8 update 311 (updated from 281) though


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

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] FrankChen021 commented on issue #12196: Build fails with error `Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (pull-deps) on project distribution: Command execution failed`

Posted by GitBox <gi...@apache.org>.
FrankChen021 commented on issue #12196:
URL: https://github.com/apache/druid/issues/12196#issuecomment-1020722581


   Seems like you're using JDK9+, try to use JDK8.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

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] kphan102 commented on issue #12196: Build fails with error `Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (pull-deps) on project distribution: Command execution failed`

Posted by GitBox <gi...@apache.org>.
kphan102 commented on issue #12196:
URL: https://github.com/apache/druid/issues/12196#issuecomment-1020840885


   I am using java 8 update 311 (updated from 281) though


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

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] FrankChen021 commented on issue #12196: Build fails with error `Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (pull-deps) on project distribution: Command execution failed`

Posted by GitBox <gi...@apache.org>.
FrankChen021 commented on issue #12196:
URL: https://github.com/apache/druid/issues/12196#issuecomment-1020722581


   Seems like you're using JDK9+, try to use JDK8.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

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] kphan102 edited a comment on issue #12196: Build fails with error `Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (pull-deps) on project distribution: Command execution failed`

Posted by GitBox <gi...@apache.org>.
kphan102 edited a comment on issue #12196:
URL: https://github.com/apache/druid/issues/12196#issuecomment-1020840885


   I am using jdk 8 update 311 (updated from 281) though


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

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] kphan102 edited a comment on issue #12196: Build fails with error `Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (pull-deps) on project distribution: Command execution failed`

Posted by GitBox <gi...@apache.org>.
kphan102 edited a comment on issue #12196:
URL: https://github.com/apache/druid/issues/12196#issuecomment-1020840885


   I am using jdk 8 update 311 (updated from 281) though


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

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