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

Support bulk deleting directories for partition drop with partial spec

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Query Processor
    • None

    Description

      In busy hadoop system, dropping many of partitions takes much more time than expected. In hive-0.11.0, removing 1700 partitions by single partial spec took 90 minutes, which is reduced to 3 minutes when deleteData is set false. I couldn't test this in recent hive, which has HIVE-6256 but if the time-taking part is mostly from removing directories, it seemed not helpful to reduce whole processing time.

      Attachments

        1. HIVE-6809.1.patch.txt
          520 kB
          Navis Ryu
        2. HIVE-6809.2.patch.txt
          517 kB
          Navis Ryu
        3. HIVE-6809.3.patch.txt
          524 kB
          Navis Ryu
        4. HIVE-6809.4.patch.txt
          524 kB
          Navis Ryu
        5. HIVE-6809.5.patch.txt
          524 kB
          Navis Ryu
        6. HIVE-6809.6.patch.txt
          519 kB
          Navis Ryu

        Issue Links

          Activity

            People

              navis Navis Ryu
              navis Navis Ryu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: