wecharyu opened a new pull request, #5596: URL: https://github.com/apache/hive/pull/5596
### What changes were proposed in this pull request? Currently the `FileUtils#moveToTrash` would fallback to call `delete()` API even if encountering `FileNotFoundException`, we could fast return if the path does not exist. ### Why are the changes needed? To reduce the hdfs calls and avoid the confusing failure log. ### Does this PR introduce _any_ user-facing change? No. ### Is the change a dependency upgrade? No. ### How was this patch tested? Pass existing tests. -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org