hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-545) Use ArrayList instead of Vector in single-threaded Hive code
Date Tue, 25 Aug 2009 19:29:59 GMT

    [ https://issues.apache.org/jira/browse/HIVE-545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747592#action_12747592

Edward Capriolo commented on HIVE-545:

Once upon a time, a major factor in changing jobs was over an argument over Vector vs ArrayList
:)  Should the declaration be of type List while instances be ArrayList? 

Do you want help ? I think I can tackle this one with search/replace? then re-run tests?

> Use ArrayList instead of Vector in single-threaded Hive code
> ------------------------------------------------------------
>                 Key: HIVE-545
>                 URL: https://issues.apache.org/jira/browse/HIVE-545
>             Project: Hadoop Hive
>          Issue Type: Improvement
>    Affects Versions: 0.4.0
>            Reporter: Zheng Shao
> Most of the Hive code is single-threaded, but sometimes we are using Vector instead of
the more efficient ArrayList.
> See http://java.sun.com/j2se/1.5.0/docs/api/java/util/ArrayList.html
> "This class (ArrayList) is roughly equivalent to Vector, except that it is unsynchronized."

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message