Return-Path: X-Original-To: apmail-bigtop-user-archive@www.apache.org Delivered-To: apmail-bigtop-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1704210C0E for ; Wed, 19 Jun 2013 08:22:23 +0000 (UTC) Received: (qmail 47096 invoked by uid 500); 19 Jun 2013 08:22:21 -0000 Delivered-To: apmail-bigtop-user-archive@bigtop.apache.org Received: (qmail 46926 invoked by uid 500); 19 Jun 2013 08:22:14 -0000 Mailing-List: contact user-help@bigtop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@bigtop.apache.org Delivered-To: mailing list user@bigtop.apache.org Received: (qmail 46915 invoked by uid 99); 19 Jun 2013 08:22:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 08:22:10 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [32.97.110.159] (HELO e38.co.us.ibm.com) (32.97.110.159) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 08:22:02 +0000 Received: from /spool/local by e38.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 19 Jun 2013 02:21:03 -0600 Received: from d03dlp02.boulder.ibm.com (9.17.202.178) by e38.co.us.ibm.com (192.168.1.138) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 19 Jun 2013 02:21:02 -0600 Received: from d03relay01.boulder.ibm.com (d03relay01.boulder.ibm.com [9.17.195.226]) by d03dlp02.boulder.ibm.com (Postfix) with ESMTP id B6E213E40030 for ; Wed, 19 Jun 2013 02:20:42 -0600 (MDT) Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay01.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r5J8L1Dq137606 for ; Wed, 19 Jun 2013 02:21:01 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r5J8L0Bu020801 for ; Wed, 19 Jun 2013 02:21:00 -0600 Received: from [9.124.158.172] ([9.124.158.172]) by d03av03.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id r5J8KxWF020722 for ; Wed, 19 Jun 2013 02:21:00 -0600 Subject: TestJDBC Driver failing in Hive 0.11.0 From: nabhajit ray To: user@bigtop.apache.org Content-Type: text/plain; charset="UTF-8" Date: Wed, 19 Jun 2013 13:50:55 +0530 Message-ID: <1371630055.4970.33.camel@oc3620505012.ibm.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-30.el6) Content-Transfer-Encoding: 7bit X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13061908-5518-0000-0000-00000FB70D31 X-Virus-Checked: Checked by ClamAV on apache.org I was trying to run TestJDBCDriver testcase from Bigtop-0.6-snapshot for Hive-0.11.0 The test case is getting assertion failure due to the wrong rendering of a query result. When I do "Describe table" in Hive-0.11.0 I am getting the following result: hive> describe hive_jdbc_driver_test; OK key int None value string None Previously, with hive-0.10.0 the query result was: hive> describe hive_jdbc_driver_test; OK key int value string As there are extra whitespaces in the result for Hive-0.11.0 the assertion in TestJdbcDriver.java file : assertEquals("key", colNames.get(0)); assertEquals("value", colNames.get(1)); is failing with the following messages: Results : Failed tests: testCreate(org.apache.bigtop.itest.hivesmoke.TestJdbcDriver): expected: but was: Tests run: 1, Failures: 1, Errors: 0, Skipped: 0 I guess, some trimming need to be done for the query result to remove the extra white spaces. Thanks,