You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/01/30 22:09:13 UTC

[jira] [Commented] (HBASE-7717) Wait until regions are assigned in TestSplitTransactionOnCluster

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

Ted Yu commented on HBASE-7717:
-------------------------------

{code}
+    for (int i=0; cluster.getRegions(tableName).size() == 0 && i<100; i++) {
{code}
nit: add spaces to 'i=0' and 'i<100'

On second iteration, I got:

Failed tests:   testShouldFailSplitIfZNodeDoesNotExistDueToPrevRollBack(org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster): Waited too long for rollback
                
> Wait until regions are assigned in TestSplitTransactionOnCluster
> ----------------------------------------------------------------
>
>                 Key: HBASE-7717
>                 URL: https://issues.apache.org/jira/browse/HBASE-7717
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>             Fix For: 0.96.0, 0.94.5
>
>         Attachments: 7717-0.94.txt
>
>
> I've seen various failures where a table is created in the tests and then all regions are retrieved from the cluster, where the number of returned regions is 0, because the region have not been assigned, yet, or the AM does not know about them, yet.

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