You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Wei Zheng (JIRA)" <ji...@apache.org> on 2017/02/21 22:10:44 UTC

[jira] [Updated] (HIVE-15999) Fix flakiness in TestDbTxnManager2

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

Wei Zheng updated HIVE-15999:
-----------------------------
    Attachment: HIVE-15999.1.patch

> Fix flakiness in TestDbTxnManager2
> ----------------------------------
>
>                 Key: HIVE-15999
>                 URL: https://issues.apache.org/jira/browse/HIVE-15999
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 2.2.0
>            Reporter: Wei Zheng
>            Assignee: Wei Zheng
>         Attachments: HIVE-15999.1.patch
>
>
> Right now there is test flakiness wrt. TestDbTxnManager2. The error is like this:
> {code}
> org.apache.hadoop.hive.ql.lockmgr.TestDbTxnManager2.checkExpectedLocks
>  Error Details
> Table/View 'TXNS' already exists in Schema 'APP'.
> {code}
> The failure is due to HiveConf used in the test being polluted by some test, e.g. in testDummyTxnManagerOnAcidTable(), conf entry HIVE_TXN_MANAGER is set to "org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager" but not switched back.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)