wangzhigang1999 commented on code in PR #7150:
URL: https://github.com/apache/kyuubi/pull/7150#discussion_r2591752269


##########
docs/extensions/engines/spark/shutdown-watchdog.md:
##########
@@ -0,0 +1,89 @@
+<!--
+- Licensed to the Apache Software Foundation (ASF) under one or more
+- contributor license agreements.  See the NOTICE file distributed with
+- this work for additional information regarding copyright ownership.
+- The ASF licenses this file to You under the Apache License, Version 2.0
+- (the "License"); you may not use this file except in compliance with
+- the License.  You may obtain a copy of the License at
+-
+-   http://www.apache.org/licenses/LICENSE-2.0
+-
+- Unless required by applicable law or agreed to in writing, software
+- distributed under the License is distributed on an "AS IS" BASIS,
+- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+- See the License for the specific language governing permissions and
+- limitations under the License.
+-->
+
+# Shutdown Watchdog Plugin
+
+The shutdown watchdog prevents zombie Spark SQL engines by monitoring graceful 
shutdown.
+If the driver does not finish within the configured timeout, the plugin 
produces a JVM thread
+dump for diagnostics and forcefully terminates the process to unblock resource 
reclamation.
+
+## Build with Apache Maven
+
+The plugin lives in the module 
`extensions/spark/kyuubi-spark-shutdown-watchdog` and can be built via:
+
+```shell
+build/mvn clean package -DskipTests \
+  -pl extensions/spark/kyuubi-spark-shutdown-watchdog -am
+```
+
+The module still publishes artifacts with the standard Scala suffix
+(`kyuubi-spark-shutdown-watchdog_2.12`, `..._2.13`, etc.) so that it aligns 
with

Review Comment:
   Actually, I planned to drop this suffix too, but since all the other modules 
kept it, I went along with it for consistency. I do think removing it would be 
better—I’ll go ahead and remove it.



-- 
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]

Reply via email to