hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <>
Subject [jira] [Created] (HIVE-15044) LockManager may be too coarse grained
Date Mon, 24 Oct 2016 20:06:58 GMT
Eugene Koifman created HIVE-15044:

             Summary: LockManager may be too coarse grained 
                 Key: HIVE-15044
             Project: Hive
          Issue Type: Improvement
          Components: Transactions
    Affects Versions: 1.0.0
            Reporter: Eugene Koifman
            Assignee: Eugene Koifman

create table target (a int, b int)
      partitioned by (p int, q int) clustered by (a) into 2  buckets 
      stored as orc TBLPROPERTIES ('transactional'='true')")
insert into target partition(p=1,q) values (1,2,3)

this insert will lock the whole table.  See 
switch (output.getType()) {
        case DUMMYPARTITION:   //

Insert operation runs with SHARED_READ lock but once HIVE-15032 is addressed this will be
an issue for Update/Delete/Merge which use a more restrictive SHARED_WRITE lock.

This message was sent by Atlassian JIRA

View raw message