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

stack commented on HBASE-4690:
------------------------------

It just failed on jenkins:

{code}
-------------------------------------------------------------------------------
Test set: 
org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 23.006 sec <<< 
FAILURE!
testExceptionFromCoprocessorDuringPut(org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort)
  Time elapsed: 1.476 sec  <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: -1
        at 
java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:343)
        at java.util.Collections$UnmodifiableList.get(Collections.java:1154)
        at 
org.apache.hadoop.hbase.HBaseTestingUtility.getRSForFirstRegionInTable(HBaseTestingUtility.java:1134)
        at 
org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort.testExceptionFromCoprocessorDuringPut(TestRegionServerCoprocessorExceptionWithAbort.java:81)
        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:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at 
org.junit.internal.runners.statements.FailOnTimeout$1.run(FailOnTimeout.java:28)
{code}

The logging I added shows:

{code}
2011-10-29 21:45:43,883 DEBUG [Thread-183] hbase.HBaseTestingUtility(1129): 
Found 25 rows for table observed_table
2011-10-29 21:45:43,883 DEBUG [Thread-183] hbase.HBaseTestingUtility(1132): 
FirstRow=observed_table,,1319924743504.ed6d9b9f5122809fad16e61835367b48.
{code}

... which would seem to say that there are plenty of regions in the table and 
that the first region doesn't have an associated server.. I'm guessing.  Need 
to look back in this log to verify:

https://builds.apache.org/job/HBase-TRUNK/2384/artifact/trunk/target/surefire-reports/org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort-output.txt

https://builds.apache.org/job/HBase-TRUNK/2384/artifact/trunk/target/surefire-reports/org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort.txt

TODO
                
> Intermittent 
> TestRegionServerCoprocessorExceptionWithRemove#testExceptionFromCoprocessorDuringPut
>  failure
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4690
>                 URL: https://issues.apache.org/jira/browse/HBASE-4690
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0
>            Reporter: Ted Yu
>            Assignee: Eugene Koontz
>             Fix For: 0.92.0
>
>
> See 
> https://builds.apache.org/view/G-L/view/HBase/job/HBase-0.92/83/testReport/junit/org.apache.hadoop.hbase.coprocessor/TestRegionServerCoprocessorExceptionWithAbort/testExceptionFromCoprocessorDuringPut/
> Somehow getRSForFirstRegionInTable() wasn't able to retrieve the region 
> server.
> One fix for this issue is to spin up MiniCluster with 1 region server so that 
> we don't need to search for the region server where first region is hosted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to