Hive
  1. Hive
  2. HIVE-4004

Incorrect status for AddPartition metastore event if RawStore commit fails

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.11.0
    • Component/s: Metastore
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      For ADD PARTITION operations, the AddPartitionEvent does not care if the RawStore commit succeeded or not. This means that an AddPartitionEvent with status=true is fired even if the the actual ADD PARTITION operation failed. This will confuse any AddPartitionEvent listeners.

      Other MetastoreListenerEvents like CreateTableEvent correctly incorporate the status of the RawStore commit. Only AddPartitionEvent has this problem.

        Issue Links

          Activity

          Dilip Joseph created issue -
          Dilip Joseph made changes -
          Field Original Value New Value
          Attachment HIVE-4004.1.patch.txt [ 12568646 ]
          Dilip Joseph made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Fix Version/s 0.11.0 [ 12323587 ]
          Dilip Joseph made changes -
          Link This issue relates to HIVE-3938 [ HIVE-3938 ]
          Dilip Joseph made changes -
          Link This issue is related to HIVE-3938 [ HIVE-3938 ]
          Namit Jain made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Resolution Fixed [ 1 ]
          Owen O'Malley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Dilip Joseph
              Reporter:
              Dilip Joseph
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development