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/10/12 09:42:54 UTC

[GitHub] [druid] themaric opened a new issue, #13216: Warnigs in Druid node logs after upgrade Java to 11

themaric opened a new issue, #13216:
URL: https://github.com/apache/druid/issues/13216

   Hi guys,
   
   Just to let you know (probably nothing, but just in case) that I've found some warnings being logged down each time Druid nodes are started:
   
   ```
   WARNING: An illegal reflective access operation has occurred
   WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/local/apache-druid-24.0.0/lib/guice-4.1.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.securit
   y.ProtectionDomain)
   WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
   WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
   WARNING: All illegal access operations will be denied in a future release
   ```
   
   Thanks and keep up the great job!


-- 
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.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] gianm commented on issue #13216: Warnigs in Druid node logs after upgrade Java to 11

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

   This is due to JDK encapsulation: https://druid.apache.org/docs/latest/operations/java.html#strong-encapsulation
   
   You can avoid them, if you like, by adding the mentioned `--add-exports` and `--add-opens` to your jvm parameters. Although as mentioned, the warnings are harmless, so this isn't required. Patch #12839 adds some logic to the startup scripts to set these automatically on Java 17, where they _are_ required.


-- 
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] gianm closed issue #13216: Warnigs in Druid node logs after upgrade Java to 11

Posted by GitBox <gi...@apache.org>.
gianm closed issue #13216: Warnigs in Druid node logs after upgrade Java to 11
URL: https://github.com/apache/druid/issues/13216


-- 
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] gianm commented on issue #13216: Warnigs in Druid node logs after upgrade Java to 11

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

   Closing since this is not an issue on Java 11, and on Java 17 we set the required parameters in the startup scripts. Please let us know if you run into problems.


-- 
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] themaric commented on issue #13216: Warnigs in Druid node logs after upgrade Java to 11

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

   All clear, thank you for following up.


-- 
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 #13216: Warnigs in Druid node logs after upgrade Java to 11

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

   It's a known problem. See: https://github.com/apache/druid/pull/12232#issuecomment-1059917494
   
   This won't cause any problem as I know. I don't know there is somebody working on this problem because it's a little bit tricky.
   
   


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