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

HiveTxnManager.acquireLocks() should not block forever

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.3.0, 2.1.0
    • Transactions

    Description

      Currently, in DbTxnManager this method will block until all competing locks have gone away.
      This is not appropriate for all clients. There should be a way to specify a max-wait-time.
      It will throw an exception on timeout (given how current method signature is written).

      Attachments

        1. HIVE-12529.5.patch
          24 kB
          Eugene Koifman
        2. HIVE-12529.4.patch
          23 kB
          Eugene Koifman
        3. HIVE-12529.2.patch
          18 kB
          Eugene Koifman
        4. HIVE-12529.patch
          15 kB
          Eugene Koifman

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: