Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5608

TestAMRMClient.setup() fails with ArrayOutOfBoundsException

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha2
    • test
    • Reviewed

    Description

      After 39 runs the TestAMRMClient test, I encountered:

      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
             	at java.util.ArrayList.rangeCheck(ArrayList.java:635)
             	at java.util.ArrayList.get(ArrayList.java:411)
             	at org.apache.hadoop.yarn.client.api.impl.TestAMRMClient.setup(TestAMRMClient.java:144)
      

      I see it shows up occasionally in the error emails as well.

      Attachments

        1. YARN-5608.patch
          0.9 kB
          Rohith Sharma K S
        2. YARN-5608.002.patch
          1 kB
          Daniel Templeton
        3. YARN-5608.003.patch
          2 kB
          Daniel Templeton
        4. YARN-5608.004.patch
          2 kB
          Daniel Templeton
        5. YARN-5608.005.patch
          1 kB
          Daniel Templeton

        Activity

          People

            templedf Daniel Templeton
            templedf Daniel Templeton
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: