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 CC0261009D for ; Mon, 22 Dec 2014 21:30:13 +0000 (UTC) Received: (qmail 91889 invoked by uid 500); 22 Dec 2014 21:30:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 91810 invoked by uid 500); 22 Dec 2014 21:30:13 -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 91799 invoked by uid 500); 22 Dec 2014 21:30:13 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 91796 invoked by uid 99); 22 Dec 2014 21:30:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Dec 2014 21:30:13 +0000 Date: Mon, 22 Dec 2014 21:30:13 +0000 (UTC) From: "Mohit Sabharwal (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-9193) Fix ordering differences due to Java 8 (Part 3) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Mohit Sabharwal created HIVE-9193: ------------------------------------- Summary: Fix ordering differences due to Java 8 (Part 3) Key: HIVE-9193 URL: https://issues.apache.org/jira/browse/HIVE-9193 Project: Hive Issue Type: Sub-task Components: Tests Reporter: Mohit Sabharwal Assignee: Mohit Sabharwal This patch fixes following q-test failures in Java 8: (1) avro_* q-tests with map data type. Select operator uses {{LazySimpleSerDe}}/{{StandMapObjectInspector}}, which is used all over for serializing results back to the end user for queries with maps. To avoid adding the additional memory cost associated with {{LinkedHashMap}}, we generate java version specific out files for these tests. (2) plan_json.q, join0.q, input4.q, authorization_explain.q {{EXPLAIN FORMATTED}} outputs string representation of {{JSONObject}}, which internally is a {{HashMap}}. Again, we generate java version specific out files for these tests. (3) explain_dependency.q {{EXPLAIN DEPENDENCY}} outputs string representation of {{ReadEntity.parents}}. Changed that to an ordered map. (4) list_bucket_dml_6.q {{DESC FORMATTED}} calls {{StorageDescriptor.getSkewedInfo()}} HMS API, which returns a thrift (unordered) map. Generate java version specific out file for this test. -- This message was sent by Atlassian JIRA (v6.3.4#6332)