Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-20848][SQL] Shutdown the pool after reading parquet files
## What changes were proposed in this pull request? From JIRA: On each call to spark.read.parquet, a new ForkJoinPool is created. One of the threads in the pool is kept in the WAITING state, and never stopped, which leads to unbounded growth in number of threads. We should shutdown the pool after reading parquet files. ## How was this patch tested? Added a test to ParquetFileFormatSuite. Please review http://spark.apache.org/contributing.html before opening a pull request. Author: Liang-Chi Hsieh <[email protected]> Closes apache#18073 from viirya/SPARK-20848.
- Loading branch information