You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2014/11/11 02:14:33 UTC

[jira] [Updated] (HIVE-8812) TestMinimrCliDriver failure if run in the same command as TestHBaseNegativeCliDriver

     [ https://issues.apache.org/jira/browse/HIVE-8812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Dere updated HIVE-8812:
-----------------------------
    Attachment: HIVE-8812.1.patch

Patch avoids problem by removing the previous derby DB if it exists.

> TestMinimrCliDriver failure if run in the same command as TestHBaseNegativeCliDriver
> ------------------------------------------------------------------------------------
>
>                 Key: HIVE-8812
>                 URL: https://issues.apache.org/jira/browse/HIVE-8812
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>         Attachments: HIVE-8812.1.patch
>
>
> TestHBaseNegativeCliDriver does not drop all of the tables created during the test. The next CliDriver test in line (TestMinimrCliDriver) tries to clean up the tables created by the test HBase instance and fails:
> {format}
> junit.framework.AssertionFailedError: Unexpected exception in setup
> 	at junit.framework.Assert.fail(Assert.java:57)
> 	at junit.framework.TestCase.fail(TestCase.java:227)
> 	at org.apache.hadoop.hive.cli.TestMinimrCliDriver.setUp(TestMinimrCliDriver.java:71)
> {noformat}
> This only happens if you run these tests in the same maven command. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)