Description
Pyspark daemon exit failed when receive SIGTERM on py3.7.
We can run test on py3.7 like
python/run-tests --python-executables=python3.7 --testname "pyspark.tests.test_daemon DaemonTests"
Will fail on test "test_termination_sigterm". And we can see daemon process do not exit.
This issue happen on py3.7 but lower version python works fine.