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

Hdfs directory is not cleared if partition creation failed on HMS

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Metastore
    • Labels:
      None
    • Target Version/s:

      Description

      Hive#loadPartition will load a directory into a Hive Table Partition. It will alter the existing content of
      the partition with the new contents and create a new partition if one does not exist.
      The file move is performed before the partition creation and if the creation failes, the moved files are not cleared.

        Attachments

        1. HIVE-17149.01.patch
          1 kB
          Barna Zsombor Klara

          Activity

            People

            • Assignee:
              zsombor.klara Barna Zsombor Klara
              Reporter:
              zsombor.klara Barna Zsombor Klara
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: