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

Jeffrey Zhong commented on HBASE-8575:
--------------------------------------

The test case has the following line already to mark it for 
distributedLogReplay. Thanks.
{code}
curConf.setBoolean(HConstants.DISTRIBUTED_LOG_REPLAY_KEY, true);
{code}
                
> TestDistributedLogSplitting#testMarkRegionsRecoveringInZK fails 
> intermittently due to lack of online region
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-8575
>                 URL: https://issues.apache.org/jira/browse/HBASE-8575
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Jeffrey Zhong
>         Attachments: hbase-8575.patch
>
>
> From 
> http://54.241.6.143/job/HBase-TRUNK/org.apache.hbase$hbase-server/297/testReport/junit/org.apache.hadoop.hbase.master/TestDistributedLogSplitting/testMarkRegionsRecoveringInZK/
>  :
> {code}
> Stacktrace
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>       at java.util.ArrayList.RangeCheck(ArrayList.java:547)
>       at java.util.ArrayList.get(ArrayList.java:322)
>       at 
> org.apache.hadoop.hbase.master.TestDistributedLogSplitting.testMarkRegionsRecoveringInZK(TestDistributedLogSplitting.java:612)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> {code}
> The assertion occurred on second line below:
> {code}
>     List<HRegionInfo> regions = ProtobufUtil.getOnlineRegions(hrs);
>     HRegionInfo region = regions.get(0);
> {code}
> This meant that there was no online region at that moment.

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