hi [image: :wave:]  I am trying to do profiling on one of our flink jobs
according to these docs:
https://nightlies.apache.org/flink/flink-docs-master/docs/ops/debugging/application_profiling/We
are using OpenJDK 8.0. I am adding this line to the flink properties file
in docker-compose:

env.java.opts.all: "-XX:+UnlockCommercialFeatures
-XX:+UnlockDiagnosticVMOptions -XX:+FlightRecorder
-XX:+DebugNonSafepoints
-XX:FlightRecorderOptions=defaultrecording=true,dumponexit=true,dumponexitpath=/tmp/dump.jfr"

I would expect to see the dump.jfr file created once I cancel the job but
unfortunately I dont see anything created. How can I manage to get a valid
profile file? Thanks!
Regards,
Oscar

Reply via email to