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 DC7BB10248 for ; Fri, 4 Oct 2013 01:03:42 +0000 (UTC) Received: (qmail 64509 invoked by uid 500); 4 Oct 2013 01:03:42 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 64459 invoked by uid 500); 4 Oct 2013 01:03:42 -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 64449 invoked by uid 500); 4 Oct 2013 01:03:42 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 64446 invoked by uid 99); 4 Oct 2013 01:03:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Oct 2013 01:03:42 +0000 Date: Fri, 4 Oct 2013 01:03:42 +0000 (UTC) From: "Phabricator (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4542) TestJdbcDriver2.testMetaDataGetSchemas fails because of unexpected database 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-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Phabricator updated HIVE-4542: ------------------------------ Attachment: D13269.1.patch vaibhavgumashta requested code review of "HIVE-4542 [jira] TestJdbcDriver2.testMetaDataGetSchemas fails because of unexpected database". Reviewers: JIRA HIVE-4542: The check for database name in TestJdbcDriver2.testMetaDataGetSchemas fails with the error - junit.framework.ComparisonFailure: expected:<...efault> but was:<...bname> ie, a database called dbname is found, which it does not expect. This failure will happen depending on the order in which the function get the databases, if "default" database is the first one, it succeeds. TEST PLAN Empty REVISION DETAIL https://reviews.facebook.net/D13269 AFFECTED FILES jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java ql/src/test/org/apache/hadoop/hive/ql/metadata/TestHiveMetaStoreChecker.java MANAGE HERALD RULES https://reviews.facebook.net/herald/view/differential/ WHY DID I GET THIS EMAIL? https://reviews.facebook.net/herald/transcript/39051/ To: JIRA, vaibhavgumashta Cc: thejas, ashutoshc > TestJdbcDriver2.testMetaDataGetSchemas fails because of unexpected database > --------------------------------------------------------------------------- > > Key: HIVE-4542 > URL: https://issues.apache.org/jira/browse/HIVE-4542 > Project: Hive > Issue Type: Bug > Affects Versions: 0.12.0 > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Attachments: D13269.1.patch, HIVE-4542.1.patch, HIVE-4542.2.patch > > > The check for database name in TestJdbcDriver2.testMetaDataGetSchemas fails with the error - > {code} > junit.framework.ComparisonFailure: expected:<...efault> but was:<...bname> > {code} > ie, a database called dbname is found, which it does not expect. This failure will happen depending on the order in which the function get the databases, if "default" database is the first one, it succeeds. -- This message was sent by Atlassian JIRA (v6.1#6144)