You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Wechar (Jira)" <ji...@apache.org> on 2025/01/06 04:09:00 UTC
[jira] [Updated] (HIVE-28691) Check if the path exists before deleting in FileUtils#moveToTrash
[ https://issues.apache.org/jira/browse/HIVE-28691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wechar updated HIVE-28691:
--------------------------
Description: Currently the `FileUtils#moveToTrash` would fallback to call `delete()` API even if encountering `FileNotFoundException`, we could fast return if the path does not exist.
> 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)