pulsar-helm-chart icon indicating copy to clipboard operation
pulsar-helm-chart copied to clipboard

Bookie startup fails with JDK11 based docker image and default values.yaml JVM settings

Open lhotari opened this issue 4 years ago • 0 comments

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

  1. build docker images from apache/pulsar master branch
  2. publish to some docker repository
  3. reference the images in a custom values.yaml
  4. deploy pulsar helm chart

Expected behavior

Pulsar helm chart should work with JDK11 base images.

lhotari avatar May 20 '21 14:05 lhotari