You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by bi...@apache.org on 2022/12/12 20:32:38 UTC
[storm] branch master updated: Adding IgnoreUnrecognizedVMOptions to make worker start with jdk-11 (#3503)
This is an automated email from the ASF dual-hosted git repository.
bipinprasad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/storm.git
The following commit(s) were added to refs/heads/master by this push:
new 272117273 Adding IgnoreUnrecognizedVMOptions to make worker start with jdk-11 (#3503)
272117273 is described below
commit 272117273b4cae0b97a378a8c8bd35ba066d443e
Author: Atul Soman <at...@users.noreply.github.com>
AuthorDate: Tue Dec 13 02:02:25 2022 +0530
Adding IgnoreUnrecognizedVMOptions to make worker start with jdk-11 (#3503)
* Adding IgnoreUnrecognizedVMOptions to make worker process start with jdk-11
May of the default jvm parameters are no longer supported in java versions > 11. This will result in the worker process getting crashed.
eg: https://github.com/31z4/storm-docker/issues/32
The official storm docker hub (https://hub.docker.com/_/storm) now ships jdk-11 and worker process fails with Error: Could not create the Java Virtual Machine.
* Update defaults.yaml
---
conf/defaults.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/conf/defaults.yaml b/conf/defaults.yaml
index 909823c8f..da4bc16c3 100644
--- a/conf/defaults.yaml
+++ b/conf/defaults.yaml
@@ -192,7 +192,7 @@ supervisor.thrift.socket.timeout.ms: 5000
### worker.* configs are for task workers
worker.heap.memory.mb: 768
-worker.childopts: "-Xmx%HEAP-MEM%m -XX:+PrintGCDetails -Xloggc:artifacts/gc.log -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=1M -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=artifacts/heapdump"
+worker.childopts: "-Xmx%HEAP-MEM%m -XX:+IgnoreUnrecognizedVMOptions -XX:+PrintGCDetails -Xloggc:artifacts/gc.log -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=1M -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=artifacts/heapdump"
worker.gc.childopts: ""
# Unlocking commercial features requires a special license from Oracle.