Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10984 After "lock table shared" explicit lock, "lock database exclusive" should fail.
  3. HIVE-11130

Refactoring the code so that HiveTxnManager interface will support lock/unlock table/database object

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 1.3.0, 2.0.0
    • Locking
    • None

    Description

      This is just a refactoring step which keeps the current logic, but it exposes the explicit lock/unlock table and database in HiveTxnManager which should be implemented differently by the subclasses ( currently it's not. e.g., for ZooKeeper implementation, we should lock table and database when we try to lock the table).

      Attachments

        1. HIVE-11130.patch
          16 kB
          Aihua Xu
        2. HIVE-11130.2.patch
          17 kB
          Aihua Xu

        Issue Links

          Activity

            People

              aihuaxu Aihua Xu
              aihuaxu Aihua Xu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: