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/05/21 04:53:18 UTC

[jira] [Commented] (HBASE-8575) TestDistributedLogSplitting#testMarkRegionsRecoveringInZK fails intermittently due to lack of online region

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

Ted Yu commented on HBASE-8575:
-------------------------------

Currently default config value for "hbase.master.distributed.log.replay" is false.

Can you setup testMarkRegionsRecoveringInZK in such a way that config value for "hbase.master.distributed.log.replay" is true ?

Or maybe pull all distributed log replay related tests into a new test file ?

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