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 BC177D38D for ; Wed, 15 May 2013 17:39:16 +0000 (UTC) Received: (qmail 16545 invoked by uid 500); 15 May 2013 17:39:16 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 16434 invoked by uid 500); 15 May 2013 17:39:16 -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 16425 invoked by uid 500); 15 May 2013 17:39:16 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 16422 invoked by uid 99); 15 May 2013 17:39:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 May 2013 17:39:16 +0000 Date: Wed, 15 May 2013 17:39:16 +0000 (UTC) From: "Kevin Wilfong (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HIVE-4565) TestCliDriver and TestParse fail with non Sun Java 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-4565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Wilfong reassigned HIVE-4565: ----------------------------------- Assignee: Kevin Wilfong > TestCliDriver and TestParse fail with non Sun Java > -------------------------------------------------- > > Key: HIVE-4565 > URL: https://issues.apache.org/jira/browse/HIVE-4565 > Project: Hive > Issue Type: Bug > Components: Tests > Affects Versions: 0.11.0 > Environment: RedHat x86 IBM Java 6 > Reporter: Renata Ghisloti Duarte de Souza > Assignee: Kevin Wilfong > Priority: Minor > Fix For: 0.11.0 > > > While executing Hive's unit tests two testcases have different outputs with Sun Java and non-Sun Java (such as IBM): > TestCliDriver and TestParse. > The differences are mainly due to the use of HashMaps on the creation of the Logical Plan on analyzeInternal method. Sun java presents the elements of a HashMap in one order, and non sun Java on a different order. > Both outputs are correct, and don't affect the final query result. I propose this patch attached to make Hive unit tests compliant with all JVMs. > The patch adds the output files and a change on ql/build.xml. -- 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