Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E789174D1 for ; Sun, 23 Nov 2014 05:57:13 +0000 (UTC) Received: (qmail 68104 invoked by uid 500); 23 Nov 2014 05:57:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 68031 invoked by uid 500); 23 Nov 2014 05:57:12 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 68020 invoked by uid 500); 23 Nov 2014 05:57:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 68016 invoked by uid 99); 23 Nov 2014 05:57:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Nov 2014 05:57:12 +0000 Date: Sun, 23 Nov 2014 05:57:12 +0000 (UTC) From: "Brock Noland (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-8707) Fix ordering differences due to Java 8 HashMap function MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-8707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14222324#comment-14222324 ] Brock Noland commented on HIVE-8707: ------------------------------------ All tests pass locally for me. > 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.1.patch, HIVE-8707.2.patch, HIVE-8707.3.patch, 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)