You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Barna Zsombor Klara (JIRA)" <ji...@apache.org> on 2017/07/21 15:01:00 UTC

[jira] [Updated] (HIVE-17149) Hdfs directory is not cleared if partition creation failed on HMS

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

Barna Zsombor Klara updated HIVE-17149:
---------------------------------------
    Attachment: HIVE-17149.01.patch

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