You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Mohit Sabharwal (JIRA)" <ji...@apache.org> on 2014/11/03 07:42:34 UTC
[jira] [Updated] (HIVE-8707) Fix ordering differences due to Java 8
HashMap function
[ https://issues.apache.org/jira/browse/HIVE-8707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mohit Sabharwal updated HIVE-8707:
----------------------------------
Attachment: HIVE-8707.patch
> Fix ordering differences due to Java 8 HashMap function
> -------------------------------------------------------
>
> Key: HIVE-8707
> URL: https://issues.apache.org/jira/browse/HIVE-8707
> Project: Hive
> Issue Type: Sub-task
> Reporter: Mohit Sabharwal
> Assignee: Mohit Sabharwal
> Attachments: HIVE-8707.patch
>
>
> Java 8 uses a different hash function for HashMap, which is leading to iteration order differences in several cases. (See [Java8|http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8-b132/java/util/HashMap.java?av=f#336] vs [Java7|http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/7-b147/java/util/HashMap.java#HashMap.hash%28int%29])
> For example:
> - In Explain output: Stages are numbered differently
> - In PostExecutePrinter hook, table order is different in lineage.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)