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

Refactor HiveAlterHandler as per HIVE-2907

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 0.13.0
    • None
    • Metastore

    Description

      HIVE-2907 introduced a cap on number of partitions to fetch per getPartitions() call and HiveAlterHandler [1] also needs to be refactored as per the new semantics. Otherwise this issue can lead to OOMs on client that does "ALTER" on tables with huge number of partitions

      [1] https://github.com/apache/hive/blob/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java#L180

      Attachments

        1. HIVE-6911.trunk.patch
          3 kB
          Bharath Vissapragada

        Activity

          People

            Unassigned Unassigned
            bharathv Bharath Vissapragada
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: