[
https://issues.apache.org/jira/browse/HIVE-28691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Butao Zhang resolved HIVE-28691.
--------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
Meged to master branch.
Thanks [~wechar] for the fix!
Thanks [~dkuzmenko] for the review!
> Check if the path exists before deleting in FileUtils#moveToTrash
> -----------------------------------------------------------------
>
> Key: HIVE-28691
> URL: https://issues.apache.org/jira/browse/HIVE-28691
> Project: Hive
> Issue Type: Improvement
> Reporter: Wechar
> Assignee: Wechar
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
> Attachments: screenshot-1.png
>
>
> Currently the `FileUtils#moveToTrash` would fallback to call `delete()` API
> even if encountering `FileNotFoundException`, we could fast return if the
> path does not exist.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)