hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Zhong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-8575) TestDistributedLogSplitting#testMarkRegionsRecoveringInZK fails intermittently due to lack of online region
Date Tue, 21 May 2013 02:45:16 GMT

     [ https://issues.apache.org/jira/browse/HBASE-8575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeffrey Zhong updated HBASE-8575:
---------------------------------

    Attachment: hbase-8575.patch

This is just a test case patch. Basically it address the case that a region server may not
have any online regions.
                
> 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
>         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

Mime
View raw message