How to enable jmx for spark worker/executor/driver in standalone mode?

i have add these:

spark.driver.extraJavaOptions=-Dcom.sun.management.jmxremote \ 
-Dcom.sun.management.jmxremote.port=9178 \ 
-Dcom.sun.management.jmxremote.authenticate=false \ 
-Dcom.sun.management.jmxremote.ssl=false 
spark.executor.extraJavaOptions=-Dcom.sun.management.jmxremote \ 
-Dcom.sun.management.jmxremote.port=0\ 
-Dcom.sun.management.jmxremote.authenticate=false \ 
-Dcom.sun.management.jmxremote.ssl=false
to spark/conf/spark-defaults.conf

run stop-slave.sh

and then start-slave.sh

using netstat -anop|grep <executor-pid> there is no port other than spark 
api port associated to process
Sent using Zoho Mail





Reply via email to