You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Phabricator (JIRA)" <ji...@apache.org> on 2013/10/04 03:03:42 UTC

[jira] [Updated] (HIVE-4542) TestJdbcDriver2.testMetaDataGetSchemas fails because of unexpected database

     [ 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)