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

HiveServer2 ObjectInspectorFactory memory leak with cachedUnionStructObjectInspector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 3.2.0, 4.0.0-alpha-1
    • HiveServer2
    • None
    • hiveserver2 Interactive with LLAP.

    Description

      hiveserver2 is start seeing the memory pressure once the cachedUnionStructObjectInspector start going 

      https://github.com/apache/hive/blob/master/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorFactory.java#L345

      I did not see any eviction policy for cachedUnionStructObjectInspector, so we should implement some size or time-based eviction policy. 

       

      Attachments

        1. HIVE-19860.02.patch
          3 kB
          Sergey Shelukhin
        2. HIVE-19860.01.patch
          3 kB
          Sergey Shelukhin
        3. HIVE-19860.patch
          3 kB
          Rajkumar Singh
        4. Screen Shot 2018-06-11 at 2.01.00 PM.png
          362 kB
          Rajkumar Singh

        Issue Links

          Activity

            People

              Rajkumar Singh Rajkumar Singh
              Rajkumar Singh Rajkumar Singh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: