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

Improve LOGS for Hive when a query is not able to acquire locks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.13.1
    • 0.14.0
    • Diagnosability, Logging
    • None

    Description

      Currently the error thrown when you cannot acquire a lock is:
      Error in acquireLocks...
      FAILED: Error in acquiring locks: Locks on the underlying objects cannot be acquired. retry after some time
      This error is insufficient if the user would like to understand what is blocking them and insufficient from a diagnosability perspective because it is difficult to know what query is blocking the lock acquisition.

      Attachments

        1. HIVE-7445.1.patch
          12 kB
          Chaoyu Tang
        2. HIVE-7445.2.patch
          12 kB
          Chaoyu Tang
        3. HIVE-7445.3.patch
          12 kB
          Chaoyu Tang
        4. HIVE-7445.patch
          4 kB
          Chaoyu Tang

        Activity

          People

            ctang Chaoyu Tang
            ctang Chaoyu Tang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: