hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "He Yongqiang (JIRA)" <j...@apache.org>
Subject [jira] Created: (HIVE-1472) reduce the usage of HashMap and List.iterator.
Date Tue, 20 Jul 2010 01:24:49 GMT
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.


Mime
View raw message