mailtoboggavarapu-coder commented on PR #18463: URL: https://github.com/apache/hudi/pull/18463#issuecomment-4256199989
Pinging for committer approval. This PR fixes a genuine `Scanner` resource leak in `HiveIncrementalPuller.executeIncrementalSQL` — a `Scanner` opened via `new Scanner(new File(...))` to read the incremental SQL file is never closed, leaking a file handle on every call. The fix wraps the `Scanner` in a try-with-resources block so it is automatically closed. @yihua has already reviewed and LGTM'd this. Would appreciate a review and merge from a committer with write access to `apache/hudi` (@vinothchandrasekar / @alexeykudinkin / @danny0405 / @nsivabalan). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
