You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Denys Kuzmenko (Jira)" <ji...@apache.org> on 2021/01/20 10:00:00 UTC
[jira] [Commented] (HIVE-24428) Concurrent add_partitions requests
may lead to data loss
[ https://issues.apache.org/jira/browse/HIVE-24428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17268492#comment-17268492 ]
Denys Kuzmenko commented on HIVE-24428:
---------------------------------------
Thank you [~kgyrtkirk] for your patch.
Merged to master.
> Concurrent add_partitions requests may lead to data loss
> --------------------------------------------------------
>
> Key: HIVE-24428
> URL: https://issues.apache.org/jira/browse/HIVE-24428
> Project: Hive
> Issue Type: Bug
> Reporter: Zoltan Haindrich
> Assignee: Zoltan Haindrich
> Priority: Major
> Labels: pull-request-available
> Time Spent: 6h
> Remaining Estimate: 0h
>
> in case multiple clients are adding partitions to the same table - when the same partition is being added there is a chance that the data dir is removed after the other client have already written its data
> https://github.com/apache/hive/blob/5e96b14a2357c66a0640254d5414bc706d8be852/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L3958
--
This message was sent by Atlassian Jira
(v8.3.4#803005)