[ 
https://issues.apache.org/jira/browse/HIVE-28691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wechar updated HIVE-28691:
--------------------------
    Attachment: screenshot-1.png

> 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
>         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)

Reply via email to