[
https://issues.apache.org/jira/browse/HBASE-8941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707380#comment-13707380
]
Jimmy Xiang commented on HBASE-8941:
------------------------------------
The issue is that we transition the znode to OPEN, then put the region in
online region list of the region server. If unlucky (or due to thread
scheduling since for unit test all nodes run in one JVM), it is likely the
region is opened already in master, but it is not in the online region list of
the region server yet.
> TestAccessController.testGlobalPermissionList failed with
> IndexOutOfBoundsException
> -----------------------------------------------------------------------------------
>
> Key: HBASE-8941
> URL: https://issues.apache.org/jira/browse/HBASE-8941
> Project: HBase
> Issue Type: Test
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Priority: Minor
>
> https://builds.apache.org/job/HBase-TRUNK/4246/testReport/junit/org.apache.hadoop.hbase.security.access/TestAccessController/testGlobalPermissionList/
> {noformat}
> 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.security.access.TestAccessController.setUp(TestAccessController.java:188)
> {noformat}
--
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