You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that in Java 17 the javascript runtime is no longer built in. When a javascript strategy, such as the overlord affinity strategy, is evaluated at runtime, the strategy fails to run (and the task fails), saying that "engine" is null.
This may be expected behavior, and may be out of context for Druid to solve, however as Java 17 is the recommended runtime, there should probably be documentation on how to load the required libraries to allow Javascript functionality.
In the case that this is a distribution based issue, we're using openjdk-17-jre-headless.
Either way, for those looking for a quick workaround, like we were, reverting the overlord back to Java 8 works.
The text was updated successfully, but these errors were encountered:
It seems that in Java 17 the javascript runtime is no longer built in. When a javascript strategy, such as the overlord affinity strategy, is evaluated at runtime, the strategy fails to run (and the task fails), saying that "engine" is null.
druid/indexing-service/src/main/java/org/apache/druid/indexing/overlord/setup/JavaScriptWorkerSelectStrategy.java
Line 64 in 5fcf420
This may be expected behavior, and may be out of context for Druid to solve, however as Java 17 is the recommended runtime, there should probably be documentation on how to load the required libraries to allow Javascript functionality.
In the case that this is a distribution based issue, we're using
openjdk-17-jre-headless
.Either way, for those looking for a quick workaround, like we were, reverting the overlord back to Java 8 works.
The text was updated successfully, but these errors were encountered: