You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "John Sherman (Jira)" <ji...@apache.org> on 2019/10/15 23:36:00 UTC

[jira] [Created] (HIVE-22351) Fix incorrect threaded ObjectStore usage in TestObjectStore

John Sherman created HIVE-22351:
-----------------------------------

             Summary: Fix incorrect threaded ObjectStore usage in TestObjectStore
                 Key: HIVE-22351
                 URL: https://issues.apache.org/jira/browse/HIVE-22351
             Project: Hive
          Issue Type: Bug
    Affects Versions: 4.0.0
            Reporter: John Sherman
            Assignee: John Sherman
             Fix For: 4.0.0


TestObjectStore#testConcurrentDropPartitions shares the same ObjectStore object across two threads doing concurrent drops. ObjectStore isn't thread safe. I've seen occasional deadlocks where one thread is rolling back and another is trying to commit with each thread waiting on the other (one is holding an object lock via a synchronized method and another is holding the ExecutionContextThreadedImpl lock). I think the intent is to test dropPartition behavior and ensure the backing DB receives a rollback or abort on conflicting drops.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)