hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-17149) Hdfs directory is not cleared if partition creation failed on HMS
Date Fri, 21 Jul 2017 23:39:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-17149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16096999#comment-16096999
] 

Aihua Xu commented on HIVE-17149:
---------------------------------

Seems we are missing such logic. Looks good to me. +1.

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

Mime
View raw message