confluentinc / cp-helm-charts

The Confluent Platform Helm charts enable you to deploy Confluent Platform services on Kubernetes for development, test, and proof of concept environments.
https://cnfl.io/getting-started-kafka-kubernetes
Apache License 2.0
790 stars 843 forks source link

[cp-ksql-server] ksql fails opening JMX port 5555 inside pod #467

Open ramsesrm opened 4 years ago

ramsesrm commented 4 years ago

Hi, it seems ksql CLI inside the cp-ksql-server pod tries to open JMX port 5555, which is already in use so the following error is printed:

Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 5555; nested exception is: java.net.BindException: Address already in use (Bind failed)

doing an unset of JMX_PORT environment variable before running ksql fixes the issue.

gAmUssA commented 4 years ago

Could you kindly send a PR?