zhouyifan279 commented on issue #5702: URL: https://github.com/apache/incubator-gluten/issues/5702#issuecomment-2105779686
According to this [doc](https://github.com/huy/hotspot_jvm_notes/blob/master/attach-to-jvm-process.md), `jstack` communicates with JVM via a local socket file under JVM tmpdir, with filename pattern .java_pid<pid>. JVM creates .java_pid file when it receives SIGNAL_QUIT. I ran the following test cases and observed different behavior of .java_pid file. 1. JVM option `-XX:+StartAttachListener` is specified, .java_pid file is present when JVM starts. 2. If JVM option `-XX:+StartAttachListener` is not specified and `--conf spark.plugins=org.apache.gluten.GlutenPlugin` is removed, .java_pid file is present after executing `jstack`. 3. If JVM option `-XX:+StartAttachListener` is not specified and `--conf spark.plugins=org.apache.gluten.GlutenPlugin` is present, .java_pid file is not present event after executing `jstack`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
