You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2014/11/08 20:57:33 UTC
[jira] [Updated] (HIVE-8797) Simultaneous dynamic inserts can
result in "partition already exists" error
[ https://issues.apache.org/jira/browse/HIVE-8797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated HIVE-8797:
-----------------------------
Attachment: HIVE-8797.patch
This patch changes Hive.getPartition to shift from creating the partition to adding it's files to it if the createPartition call fails with already exists.
> Simultaneous dynamic inserts can result in "partition already exists" error
> ---------------------------------------------------------------------------
>
> Key: HIVE-8797
> URL: https://issues.apache.org/jira/browse/HIVE-8797
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.14.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Attachments: HIVE-8797.patch
>
>
> If two users attempt a dynamic insert into the same new partition at the same time, a possible race condition exists where both will attempt to create the partition and one will fail.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)