Michael Smith has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24066 )

Change subject: IMPALA-14776 (part 3): Fix misc resource leaks
......................................................................


Patch Set 1: Code-Review+1

(2 comments)

Useful cleanup. A bunch of the pool termination should be in a finally block - 
or use a with-clause - to ensure cleanup on test failure. Still helpful to 
clean up the warnings for successful runs.

http://gerrit.cloudera.org:8080/#/c/24066/1/tests/custom_cluster/test_concurrent_ddls.py
File tests/custom_cluster/test_concurrent_ddls.py:

http://gerrit.cloudera.org:8080/#/c/24066/1/tests/custom_cluster/test_concurrent_ddls.py@198
PS1, Line 198:     pool.terminate()
Should this be in a finally block? "assert False" could fail the test and leave 
the pool dangling.


http://gerrit.cloudera.org:8080/#/c/24066/1/tests/custom_cluster/test_local_catalog.py
File tests/custom_cluster/test_local_catalog.py:

http://gerrit.cloudera.org:8080/#/c/24066/1/tests/custom_cluster/test_local_catalog.py@499
PS1, Line 499:     t.terminate()
Should be in a finally block in case imap_unordered throws an error.



--
To view, visit http://gerrit.cloudera.org:8080/24066
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iee2c7733f477eadac7cde020b9aa47077985eb0d
Gerrit-Change-Number: 24066
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Comment-Date: Wed, 04 Mar 2026 22:16:04 +0000
Gerrit-HasComments: Yes

Reply via email to