Hive
  1. Hive
  2. HIVE-7242

alter table drop partition is acquiring the wrong type of lock

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.14.0
    • Component/s: Locking
    • Labels:
      None

      Description

      Doing an "alter table foo drop partition ('bar=x')" acquired a shared-write lock on partition bar=x. It should be acquiring an exclusive lock in that case.

        Issue Links

          Activity

          Alan Gates created issue -
          Alan Gates made changes -
          Field Original Value New Value
          Attachment HIVE-7242.patch [ 12650664 ]
          Alan Gates made changes -
          Link This issue requires HIVE-7202 [ HIVE-7202 ]
          Alan Gates made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Fix Version/s 0.14.0 [ 12326450 ]
          Alan Gates made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Alan Gates made changes -
          Attachment HIVE-7242.patch [ 12650664 ]
          Alan Gates made changes -
          Attachment HIVE-7242.patch [ 12651698 ]
          Alan Gates made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Ashutosh Chauhan made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Thejas M Nair made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Alan Gates
              Reporter:
              Alan Gates
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development