alexandrefimov opened a new pull request, #4241: URL: https://github.com/apache/ambari/pull/4241
## What changes were proposed in this pull request? Track [AMBARI-26667](https://issues.apache.org/jira/browse/AMBARI-26667). Pass the numeric SIGKILL value to killtree.sh. On Python before 3.11, str(signal.SIGKILL) produces Signals.SIGKILL. The script stops the process tree, then fails to kill it because the signal argument is invalid. ## How was this patch tested? Three focused unit tests passed on Python 3.9. They cover numeric signal arguments, legacy IntEnum formatting and already-exited processes. The two signal-argument tests fail before the fix. Subprocess execution is mocked; no signals are sent by the tests. Ruff lint, formatting and git diff checks passed. With the one-line fix loaded by two agents, HiveServer2 checks resumed and the stale-alert condition cleared. The full agent suite was not run. -- 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]
