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

Make the deleteData flag accessable from DropTable/Partition events

    XMLWordPrintableJSON

    Details

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

      Description

      On occasion, due to some error during a drop, information is removed from the metastore but data, which should have been removed, remains intact on the DFS. In order to log such events via PreEvent and Event listeners a new method 'getDeleteData' should be added to (Pre)DropPartitionEvent and (Pre)DropTableEvent which returns the deleteData flag's value.

        Attachments

        1. HIVE-4393.D10443.1.patch
          6 kB
          Phabricator
        2. HIVE-4393.D10443.2.patch
          6 kB
          Phabricator

          Activity

            People

            • Assignee:
              mrrrgn Morgan Phillips
              Reporter:
              mrrrgn Morgan Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: