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

HS2 memory optimization: Internalizing instance fields of Thrift-generated metastore API classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • None
    • None

    Description

      We should internalize the String-based instance fields of the metastore API classes FieldSchema, Partition, SerDeInfo, and StorageDescriptor in order to save memory. In a test environment with data consisting of about 1800 partitions, the proposed changes are able to save about 24% of old generation memory during a complex query. See details in the attached document.

      Attachments

        1. HIVE-7975.1.patch
          20 kB
          Wilbur Yang
        2. HIVE-7975.2.patch
          20 kB
          Wilbur Yang
        3. HIVE-7975.3.patch
          20 kB
          Brock Noland
        4. HIVE-7975-doc.pdf
          67 kB
          Wilbur Yang

        Issue Links

          Activity

            People

              wilbur.yang Wilbur Yang
              wilbur.yang Wilbur Yang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: