Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-24981][CORE] ShutdownHook timeout causes job to fail when succ…
…eeded when SparkContext stop() not called by user program **Description** The issue is described in [SPARK-24981](https://issues.apache.org/jira/browse/SPARK-24981). **How does this PR fix the issue?** This PR catch the Exception that is thrown while the Sparkcontext.stop() is running (when it is called by the ShutdownHookManager). **How was this patch tested?** I manually tested it by adding delay (60s) inside the stop(). This make the shutdownHookManger interrupt the thread that is running stop(). The Interrupted Exception was catched and the job succeed. Author: Hieu Huynh <“Hieu.huynh@oath.com”> Author: Hieu Tri Huynh <hthieu96@gmail.com> Closes #21936 from hthuynh2/SPARK_24981.
- Loading branch information