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

Refactor HiveAlterHandler as per HIVE-2907

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            bharathv Bharath Vissapragada

            Dates

              Created:
              Updated:

              Slack

                Issue deployment