pulsar-helm-chart
pulsar-helm-chart copied to clipboard
Bookie startup fails with JDK11 based docker image and default values.yaml JVM settings
Describe the bug
starting bookie fails with this error when a JDK11 based docker image is used (apache/pulsar master branch)
Unrecognized VM option 'PrintGCTimeStamps'
Error: Could not create the Java Virtual Machine.
and
Unrecognized VM option 'PrintGCApplicationStoppedTime'
Error: Could not create the Java Virtual Machine.
and
Unrecognized VM option 'PrintHeapAtGC'
Error: Could not create the Java Virtual Machine.
and
Unrecognized VM option 'G1LogLevel=finest'
Error: Could not create the Java Virtual Machine.
and
[0.002s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:/pulsar/logs/bookie-gc.log instead.
[0.006s][warning][gc] -XX:+PrintGCDetails is deprecated. Will use -Xlog:gc* instead.
A clear and concise description of what the bug is.
To Reproduce
- build docker images from apache/pulsar master branch
- publish to some docker repository
- reference the images in a custom values.yaml
- deploy pulsar helm chart
Expected behavior
Pulsar helm chart should work with JDK11 base images.