hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chengxiang li" <chengxiang...@intel.com>
Subject Review Request 32288: HIVE-10006 RSC has memory leak while execute multi queries
Date Fri, 20 Mar 2015 06:22:53 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32288/
-----------------------------------------------------------

Review request for hive.


Bugs: HIVE-10006
    https://issues.apache.org/jira/browse/HIVE-10006


Repository: hive


Description
-------

In RSC, while spark call CombineHiveInputFormat::getSplits to split the job into tasks in
a thread called "dag-scheduler-event-loop", MapWork would be added to a ThreadLocal map of
"dag-scheduler-event-loop", and never get removed. As the "dag-scheduler-event-loop" thread
is a long live and daemon thread, so all the MapWorks would be hold in the ThreadLocal map
until RSC jvm crash or exit.


Diffs
-----

  branches/spark/serde/src/java/org/apache/hadoop/hive/serde2/lazy/objectinspector/primitive/LazyPrimitiveObjectInspectorFactory.java
1667894 
  branches/spark/serde/src/java/org/apache/hadoop/hive/serde2/lazybinary/LazyBinaryUtils.java
1667894 
  branches/spark/serde/src/java/org/apache/hadoop/hive/serde2/lazybinary/objectinspector/LazyBinaryObjectInspectorFactory.java
1667894 
  branches/spark/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/MetadataListStructObjectInspector.java
1667894 
  branches/spark/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/PrimitiveObjectInspectorFactory.java
1667894 
  branches/spark/serde/src/java/org/apache/hadoop/hive/serde2/typeinfo/TypeInfoFactory.java
1667894 
  branches/spark/serde/src/java/org/apache/hadoop/hive/serde2/typeinfo/TypeInfoUtils.java
1667894 

Diff: https://reviews.apache.org/r/32288/diff/


Testing
-------


Thanks,

chengxiang li


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message