[
https://issues.apache.org/jira/browse/HBASE-8941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-8941:
-------------------------
Attachment: 8941v2.txt
I think this issue likely fixed by "HBASE-8934 Fix bunch of flaky tests
ADDENDUM patch that fixes imports"
This patch adds even more insurance. It uses Canary to do a get against all
regions before we proceed with the test. This is OTT but it will make sure all
regions are for sure online before test starts (not just assigned and the table
'enabled').
I measured how long the test takes and seems no extra cost though I can imagine
if big table using this method, there could be slow down.
I had to mess around in Canary so it could be useable by a client. It was also
broke in that we no longer let you do a Get with an empty row.
> 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: stack
> Priority: Minor
> Attachments: 8941.txt, 8941v2.txt
>
>
> 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