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

ACID: drop table doesn't acquire any locks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.0.0
    • None
    • Transactions
    • None

    Description

      with Hive configured to use DbTxnManager, in DbTxnManager.acquireLocks() both plan.getInputs() and plan.getOutputs() are empty when "drop table foo" is executed and thus no locks are acquired. We should be acquiring X locks to make sure any readers of this table don't get data wiped out while read is in progress.

      Attachments

        Activity

          People

            ekoifman Eugene Koifman
            ekoifman Eugene Koifman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: