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

Incorrect status for AddPartition metastore event if RawStore commit fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.10.0
    • 0.11.0
    • Metastore
    • None
    • 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.

      Attachments

        1. HIVE-4004.1.patch.txt
          28 kB
          Dilip Joseph

        Issue Links

          Activity

            People

              dilipjoseph Dilip Joseph
              dilipjoseph Dilip Joseph
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: