Alexander Kolbasov created HIVE-18941:
-----------------------------------------

             Summary: HMS non-transactional listener may be called in 
transactional context
                 Key: HIVE-18941
                 URL: https://issues.apache.org/jira/browse/HIVE-18941
             Project: Hive
          Issue Type: Bug
          Components: Metastore
    Affects Versions: 2.0.2, 3.0.0
            Reporter: Alexander Kolbasov


When HMS code calls listeners it assumes that they are *not* called as part of 
the transaction. This isn't quite true because of the nested transaction - it 
is quite possible that these listeners are called as part of the bigger nested 
transaction. This causes several potential issues:

1) It changes the assumptions about the context in which these listeners run
2) It creates possibilities for deadlocks
3) Some of these listeners may do relative long operations which may delay 
transaction commits.

[~spena] FYI.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to