Java.vm.specification.vendor = Oracle Corporation Java.vm.specification.name = Java Virtual Machine Specification Java.vm.name = Java HotSpot(TM) 64-Bit Server VM
No further messages were written to stderr, even though my triggers are configured to print something to stderr.ĭo you have any idea why triggers/snapshot is not working? JProfiler seems to initialize just fine.Īnd here are the outputs about my java version: $ /usr/java/jdk1.8.0_181-cloudera/bin/java -XshowSettings:properties -version I tried to find the snapshot in the JVM process working directory, in /tmp and I even searched the entire host via: find / -iname "*flink-taskmanager-snapshot*" 2>/dev/nullīut I didn't find anything. However, the snapshot file is somehow never saved, maybe none of both triggers is triggered at all (I have no way to check if recording was started or snapshot saving is not working). Some SLF4J stuff, no more JProfiler or other messages. SLF4J: Class path contains multiple SLF4J bindings.
JProfiler> Time measurement: elapsed time JProfiler> Enabling native methods instrumentation. JProfiler> Using config file /JPROFILER/jprofiler_config.xml (id: 123) This seems to work fine, from YARN container logs, I see in stderr: JProfiler> Protocol version 63 But when I try to use that session in offline profiling without GUI, it doesn't work.įor offline profiling on the cluster, I started my YARN application with appropriate options and made sure that the started JVMs would have: -agentpath:/JPROFILER/jprofiler11/bin/linux-圆4/libjprofilerti.so=offline,id=123,config=/JPROFILER/jprofiler_config.xml In the status bar, I see that after 2 minutes, 3 recordings are running, and after 22 minutes, 0 records are running. When I run this session in the JProfiler GUI to some arbitrary remote host via SSH I have a connection to, it seems to work fine. One activates tracking after 2 minutes, the other one stops all tracking after 22 minutes and saves a snapshot. I then created a session on my host with 2 timer triggers. I deployed that unextracted archive to /JPROFILER on all hosts with 755 set recursively afterwards for the entire directory structure. I was able to export relevant JProfiler libraries for offline debugging from within JProfiler for linux 64 via JProfiler -> Session -> Integration Wizards -> New remote integration -> Going some steps and then "Create archive with profiling agent". I try to offline profile a Java 8 application on a remote host, I'm not allowed to access directly.