hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sherman (Jira)" <>
Subject [jira] [Updated] (HIVE-22351) Fix incorrect threaded ObjectStore usage in TestObjectStore
Date Tue, 15 Oct 2019 23:47:00 GMT


John Sherman updated HIVE-22351:
    Status: Patch Available  (was: Open)

> Fix incorrect threaded ObjectStore usage in TestObjectStore
> -----------------------------------------------------------
>                 Key: HIVE-22351
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: John Sherman
>            Assignee: John Sherman
>            Priority: Major
>             Fix For: 4.0.0
>         Attachments: HIVE-22351.1.patch
> 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

View raw message