You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/03/28 22:38:17 UTC

[jira] [Created] (HBASE-10867) TestRegionPlacement#testRegionPlacement occasionally fails

Ted Yu created HBASE-10867:
------------------------------

             Summary: TestRegionPlacement#testRegionPlacement occasionally fails
                 Key: HBASE-10867
                 URL: https://issues.apache.org/jira/browse/HBASE-10867
             Project: HBase
          Issue Type: Test
            Reporter: Ted Yu
            Assignee: Ted Yu
            Priority: Minor
         Attachments: 10867-v1.txt

>From https://builds.apache.org/job/HBase-TRUNK/5047/testReport/org.apache.hadoop.hbase.master/TestRegionPlacement/testRegionPlacement/ :
{code}
java.lang.ArrayIndexOutOfBoundsException: 10
	at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:368)
	at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:377)
	at org.apache.hadoop.hbase.LocalHBaseCluster.getRegionServer(LocalHBaseCluster.java:224)
	at org.apache.hadoop.hbase.MiniHBaseCluster.getRegionServer(MiniHBaseCluster.java:609)
	at org.apache.hadoop.hbase.master.TestRegionPlacement.killRandomServerAndVerifyAssignment(TestRegionPlacement.java:303)
	at org.apache.hadoop.hbase.master.TestRegionPlacement.testRegionPlacement(TestRegionPlacement.java:270)
{code}
In the setup:
{code}
    TEST_UTIL.startMiniCluster(SLAVES);
{code}
where SLAVES is 10.
So when 10 was used in TEST_UTIL.getHBaseCluster().getRegionServer(killIndex), we would get ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.2#6252)