hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7166) TestSplitTransactionOnCluster tests are flaky
Date Thu, 15 Nov 2012 19:22:13 GMT

    [ https://issues.apache.org/jira/browse/HBASE-7166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498260#comment-13498260
] 

Ted Yu commented on HBASE-7166:
-------------------------------

{code}
+  private List<HRegion> assertDaughters(byte[] tableName)
{code}
I wouldn't expect an assertion to return a List. Rename the method to getDaughters() ?
                
> TestSplitTransactionOnCluster tests are flaky
> ---------------------------------------------
>
>                 Key: HBASE-7166
>                 URL: https://issues.apache.org/jira/browse/HBASE-7166
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>             Fix For: 0.96.0, 0.94.4
>
>         Attachments: 7166-0.94.txt, 7166-0.94-v2.txt, 7166-trunk.txt, 7166-trunk.txt,
7166-trunk-v2.txt
>
>
> There's a variety of tests in this class that fail occasionally.
> I think this is caused by incorrect waiting for the split to finish.
> The local split method in the test does not wait until both daughters are online, and
in some tests there's an assert following immediately that the two daughters exist.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message