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 5EB8111D30 for ; Wed, 24 Sep 2014 22:03:34 +0000 (UTC) Received: (qmail 89977 invoked by uid 500); 24 Sep 2014 22:03:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 89924 invoked by uid 500); 24 Sep 2014 22:03:33 -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 89911 invoked by uid 500); 24 Sep 2014 22:03:33 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 89908 invoked by uid 99); 24 Sep 2014 22:03:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Sep 2014 22:03:33 +0000 Date: Wed, 24 Sep 2014 22:03:33 +0000 (UTC) From: "Jason Dere (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-8248) TestHCatLoader.testReadDataPrimitiveTypes() occasionally fails 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-8248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14146949#comment-14146949 ] Jason Dere commented on HIVE-8248: ---------------------------------- [~sushanth] does this fix look ok, or would there be an appropriate place in HCat to work in another call to HCatContext.INSTANCE.setConf()? > TestHCatLoader.testReadDataPrimitiveTypes() occasionally fails > -------------------------------------------------------------- > > Key: HIVE-8248 > URL: https://issues.apache.org/jira/browse/HIVE-8248 > Project: Hive > Issue Type: Bug > Components: HCatalog, Tests > Reporter: Jason Dere > Assignee: Jason Dere > Attachments: HIVE-8248.1.patch > > > This occasionally shows up in the test failures. > It looks like testConvertBooleanToInt() sets HCatConstants.HCAT_DATA_CONVERT_BOOLEAN_TO_INTEGER=true, and this sets the static configuration in HCatContext.INSTANCE. If testConvertBooleanToInt() runs first, then this setting sticks around and converts the boolean values to int in testReadDataPrimitiveTypes(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)