Hey Florin,

you could put the JMX env config into the start skript
(kafka-server-start.sh). Before line "exec $base_dir....."

not the best way...but working....

best wishes
johannes

2016-05-31 16:02 GMT+02:00 Spico Florin <spicoflo...@gmail.com>:

> Hello!
>    I'm using Kafka 0.9.1 as a service in Horton Works Ambari.
> I have installed on one machine M1 Kafka manager that needs the JMX_PORT
> for getting the consumers for a specific topic.
>
> If I'm running the kafka scripts such as kafka-consumer-groups or
> kafka-topics from the same machine where I have installed Kafka broker then
> I get the error:
> Exception thrown by the agent : java.rmi.server.ExportException: Port
> already in use <the value provided in JMX_PORT>
>
>
> I would like to ask you what is the best way to avoid this kind of issue. I
> have read about tis on here, but I din't quite understood how the problem
> was solved.
>
> I look forward for your answers.
>  Florin
>

Reply via email to