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

Added batching with retry mechanism in Hive.getAllPartitionsOf API

    XMLWordPrintableJSON

Details

    Description

      Hive.getAllPartitionsOf() tries to list partitions in one go, it can cause memory related issues with wide tables(>2000 columns) with large amount of partitions when data is being transferred from HMS to HS2 using Thrift. Optimise the flow to use PartitionIterable so that partitions can be fetched in batches rather than one go.

      Attachments

        Issue Links

          Activity

            People

              vikramahuja_ Vikram Ahuja
              vikramahuja_ Vikram Ahuja
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: