Gopal V created HIVE-20274:
------------------------------

             Summary: HiveServer2 ObjectInspectorFactory leaks for Struct and 
List object inspectors
                 Key: HIVE-20274
                 URL: https://issues.apache.org/jira/browse/HIVE-20274
             Project: Hive
          Issue Type: Bug
          Components: HiveServer2
    Affects Versions: 3.0.0, 4.0.0
            Reporter: Gopal V


Fix in HIVE-19860 needs to be applied to 

{code}
  static ConcurrentHashMap<ObjectInspector, StandardListObjectInspector>
      cachedStandardListObjectInspector = new 
ConcurrentHashMap<ObjectInspector, StandardListObjectInspector>();
...
  static ConcurrentHashMap<ArrayList<List<?>>, StandardStructObjectInspector> 
cachedStandardStructObjectInspector =
      new ConcurrentHashMap<ArrayList<List<?>>, 
StandardStructObjectInspector>();
...
  static ConcurrentHashMap<ArrayList<Object>, ColumnarStructObjectInspector> 
cachedColumnarStructObjectInspector =
      new ConcurrentHashMap<ArrayList<Object>, ColumnarStructObjectInspector>();
{code}

And possibly for 

{code}
  static ConcurrentHashMap<Type, ObjectInspector> objectInspectorCache = new 
ConcurrentHashMap<Type, ObjectInspector>();
...
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to