Hi, I want to run a flink job with the JVM parameters "-Dcom.sun.management.jmxremote.port=3333 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false" in order to monitor this job with VisualVM. So I am doing like this:
./bin/flink run ../TaxiRideCount.jar -yD env.java.opts="-Dcom.sun.management.jmxremote.port=3333 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false" -input /home/flink/nycTaxiRides.gz -output mqtt -sinkHost 127.0.0.1 The problem is that when I try to add a JMX connection from VisualVM the connection seems to not capture anything. I ensure that VisualVM is able to listen the java process in my machine since I can see the TaskManagerRunner and the StandaloneSessionClusterEntrypoint. However, VisualVM is not able to show the thread tab for those processes as well. This is why I am trying to add the JVM parameters when submitting the link job [1]. A common issue is also when the VisualVM and the java processes are not using the same JDK. However, this is also not my case. All applications are using OpenJDK 64-Bit Server VM version 1.8.0_252. Have already anyone tried to monitor Flink applications using VisualVM? Thanks, Felipe [1] https://stackoverflow.com/questions/16023507/why-isnt-visualvm-showing-all-the-normal-tabs -- -- Felipe Gutierrez -- skype: felipe.o.gutierrez -- https://felipeogutierrez.blogspot.com