9eb896cc3b
## What changes were proposed in this pull request? Update thread audit whitelist to skip threads of the global broadcast exchange thread pool, process reaper and Hadoop FS statistics data reference cleaner thread. ## How was this patch tested? Via existing UT using broadcast exchange via `sbt` i.e: ``` > project sql > testOnly *.SessionStateSuite -- -z "fork new sessions and run query on inherited table" ``` Before (wrapped long line for manually to save horizontal scrolling for reviewers): ``` ===== POSSIBLE THREAD LEAK IN SUITE o.a.s.sql.SessionStateSuite, thread names: broadcast-exchange-6, broadcast-exchange-0, broadcast-exchange-2, broadcast-exchange-5, broadcast-exchange-7, broadcast-exchange-4, broadcast-exchange-1, process reaper, broadcast-exchange-3, org.apache.hadoop.fs.FileSystem$Statistics$StatisticsDataReferenceCleaner ===== ``` After this change no possible thread leak detected. Closes #24244 from attilapiros/thread-audit-minor. Authored-by: “attilapiros” <piros.attila.zsolt@gmail.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com> |
||
---|---|---|
.. | ||
benchmarks | ||
src | ||
pom.xml |