[ 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.2.patch A new version of the patch. This fixes a couple of issues: # import the JDOException in Hive.java was breaking WebHCat because it doesn't have the right jars in its classpath, so that exception check was moved to another class to avoid forcing the load of JDOException. # getPartition...() was added to the catch clauses to get the newly created partition in the race condition > 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.2.patch, 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)