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

SHOW LOCKS with DbTxnManager ignores filter options

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • 1.3.0, 2.1.0
    • Transactions
    • None

    Description

      https://cwiki.apache.org/confluence/display/Hive/Locking and https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-ShowLocks list various options that can be used with SHOW LOCKS, e.g. <TABLE>

      When ACID is enabled, all these options are ignored and a full list is returned.
      (also only ext lock id is shown, int lock id is not).

      see DDLTask.showLocks() and TxnHandler.showLocks()

      requires extending ShowLocksRequest which is a Thrift object

      Attachments

        1. HIVE-11793.1.patch
          12 kB
          Wei Zheng
        2. HIVE-11793.2.patch
          13 kB
          Wei Zheng
        3. HIVE-11793.3.patch
          20 kB
          Wei Zheng
        4. HIVE-11793.4.patch
          22 kB
          Wei Zheng
        5. HIVE-11793.5.patch
          22 kB
          Wei Zheng
        6. HIVE-11793.6.patch
          27 kB
          Wei Zheng
        7. HIVE-11793.7.patch
          23 kB
          Wei Zheng
        8. HIVE-11793.8.patch
          22 kB
          Wei Zheng
        9. HIVE-11793.ADDENDUM.patch
          2 kB
          Wei Zheng

        Issue Links

          Activity

            People

              wzheng Wei Zheng
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: