You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "He Yongqiang (JIRA)" <ji...@apache.org> on 2010/07/20 03:24:49 UTC
[jira] Created: (HIVE-1472) reduce the usage of HashMap and
List.iterator.
reduce the usage of HashMap and List.iterator.
-----------------------------------------------
Key: HIVE-1472
URL: https://issues.apache.org/jira/browse/HIVE-1472
Project: Hadoop Hive
Issue Type: Improvement
Reporter: He Yongqiang
Priority: Minor
HashMap is used in a lot of places in Hive. Most times we can just replace it with native array. List.iterator() give a lot of pressure to Java GC, we should avoid it.
Another thing we can also try here is to replace GroupByOperator's HashMap look up by not using the ObjectInspectorUtils.compare(). Instead, We can try here is to first serialize the keys and use the serialized bytes to do the comparison.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.