Ask Your Question

Revision history [back]

Bind additional javaagent

Hello !

I’m trying to add jolokia javaagent to sdc process to export jmx metrics.

I’ve added the extra java options in cloudera manager sdc config in lib-env.sh, I see the javaagent option in sdc process but it doesn’t seems started (nothing binded on 8778 default jolokia port).

My config :

export STREAMSETS_LIBRARIES_EXTRA_DIR="/opt/sdc-extras/" export SDC_JAVA_OPTS="-javaagent:/opt/jolokia/agent.jar=port=8778,host=localhost \ -Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port=3333 \ -Dcom.sun.management.jmxremote.local.only=false \ -Dcom.sun.management.jmxremote.authenticate=false \ -Dcom.sun.management.jmxremote.ssl=false \ ${SDC_JAVA_OPTS}"

Any suggestions ?

Bind additional javaagent

Hello !

I’m trying to add jolokia javaagent to sdc process to export jmx metrics.

I’ve added the extra java options in cloudera Cloudera manager sdc config in lib-env.sh, sdc-env.sh, I see the javaagent option in sdc process details but it doesn’t seems started (nothing binded on 8778 default jolokia port).

My config :

export STREAMSETS_LIBRARIES_EXTRA_DIR="/opt/sdc-extras/" export SDC_JAVA_OPTS="-javaagent:/opt/jolokia/agent.jar=port=8778,host=localhost \ -Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port=3333 \ -Dcom.sun.management.jmxremote.local.only=false \ -Dcom.sun.management.jmxremote.authenticate=false \ -Dcom.sun.management.jmxremote.ssl=false \ ${SDC_JAVA_OPTS}"

Any suggestions ?