hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-297) Improve hashCode implementations for PB records
Date Wed, 02 Jan 2013 22:52:15 GMT

    [ https://issues.apache.org/jira/browse/YARN-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542511#comment-13542511

Xuan Gong commented on YARN-297:

Thanks. Could you kind educate me why we prefer to use bigger prime number in the hashCode
function ? 
> Improve hashCode implementations for PB records
> -----------------------------------------------
>                 Key: YARN-297
>                 URL: https://issues.apache.org/jira/browse/YARN-297
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Arun C Murthy
>            Assignee: Xuan Gong
> As [~hsn] pointed out in YARN-2, we use very small primes in all our hashCode implementations.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message