LuciferYang opened a new pull request #33977: URL: https://github.com/apache/spark/pull/33977
### What changes were proposed in this pull request? SPARK-36737 change to use `JavaUtils. closeQuietly` instead of `IOUtils.closeQuietly`, but there is slightly different from the 2 methods in default behavior: swallowing IOException is same, but the former logs it as ERROR while the latter doesn't log by default. `Apache commons-io` community decided to retain the `IOUtils.closeQuietly` method in the [new version](https://github.com/apache/commons-io/blob/75f20dca72656225d0dc8e7c982e40caa9277d42/src/main/java/org/apache/commons/io/IOUtils.java#L465-L467) and removed deprecated annotation, the change has been released in version 2.11.0. So the change of this pr is to upgrade `Apache commons-io` to 2.11.0 and revert change of SPARK-36737 to maintain original behavior(don't print error log). ### Why are the changes needed? 1. Upgrade `Apache commons-io` to 2.11.0 to use non-deprecated `closeQuietly` API 2. Revert change of SPARK-36737 to maintain original `IOUtils.closeQuietly` API behavior(don't print error log). ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass the Jenkins or GitHub Action -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
