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

Lars Hofhansl commented on HBASE-7717:
--------------------------------------

Possibly the 3 booleans secondSplit, callRollback, firstSplitCompleted should 
be volatile, because they're read from/written to from different threads. (Not 
that that should lead to a value stale for a whole 10s, but anyway)
                
> 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, 7717-0.94-v1.txt, 7717-0.94-v2.txt, 
> TEST-org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster.xml
>
>
> 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

Reply via email to