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

Replicating conversion of managed to external table leaks HDFS files at target.

    XMLWordPrintableJSON

Details

    Description

      While replicating the ALTER event to convert managed table to external table, the data location for the table is changed under input base directory for external tables replication. But, the old location remains there and would be leaked for ever.

      ALTER TABLE T1 SET TBLPROPERTIES('EXTERNAL'='true');

      Attachments

        1. HIVE-21471.03.patch
          24 kB
          Sankar Hariappan
        2. HIVE-21471.02.patch
          17 kB
          Sankar Hariappan
        3. HIVE-21471.01.patch
          9 kB
          Sankar Hariappan

        Issue Links

          Activity

            People

              sankarh Sankar Hariappan
              sankarh Sankar Hariappan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 7h
                  7h