Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18941

HMS non-transactional listener may be called in transactional context

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.2, 3.0.0
    • None
    • Metastore
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            akolb Alex Kolbasov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: