Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8232

TestAccessController occasionally fails with IndexOutOfBoundsException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.94.7, 0.95.0, 0.95.2
    • Fix Version/s: 0.94.7, 0.95.0, 0.95.2
    • Component/s: security, test
    • Labels:
      None

      Description

      We are not waiting for the test table to be deployed before getting a reference to one of its regions.

      testShutdown(org.apache.hadoop.hbase.security.access.TestAccessController)  Time elapsed: 2.593 sec\
        <<< ERROR!
      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:172)
              at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
      

        Attachments

        1. 8232.patch
          0.7 kB
          Andrew Kyle Purtell
        2. 8232-branch-0.94.patch
          0.7 kB
          Andrew Kyle Purtell

          Activity

            People

            • Assignee:
              apurtell Andrew Kyle Purtell
              Reporter:
              apurtell Andrew Kyle Purtell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: