Need help on connecting a jolokia agent to my spark job and see the sinc metrics.
https://jolokia.org/reference/html/agents.html#jvm-agent Of the two options available not able to use javaagent with spark-submit and on the fly approach is tricky as will not know in which worker node and which pid the agent to start.
How to start jolokia within my code. Spark code is written in Scala.