[
https://issues.apache.org/jira/browse/HIVE-17149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aihua Xu updated HIVE-17149:
----------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
Status: Resolved (was: Patch Available)
Pushed to master. Thanks [~zsombor.klara] for the work.
> Hdfs directory is not cleared if partition creation failed on HMS
> -----------------------------------------------------------------
>
> Key: HIVE-17149
> URL: https://issues.apache.org/jira/browse/HIVE-17149
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 3.0.0
> Reporter: Barna Zsombor Klara
> Assignee: Barna Zsombor Klara
> Fix For: 3.0.0
>
> Attachments: HIVE-17149.01.patch
>
>
> Hive#loadPartition will load a directory into a Hive Table Partition. It will
> alter the existing content of
> the partition with the new contents and create a new partition if one does
> not exist.
> The file move is performed before the partition creation and if the creation
> failes, the moved files are not cleared.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)