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

TestAMRMClient.setup() fails with ArrayOutOfBoundsException

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: test
    • Labels:
    • Hadoop Flags:
      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.002.patch
          1 kB
          Daniel Templeton
        2. YARN-5608.003.patch
          2 kB
          Daniel Templeton
        3. YARN-5608.004.patch
          2 kB
          Daniel Templeton
        4. YARN-5608.005.patch
          1 kB
          Daniel Templeton
        5. YARN-5608.patch
          0.9 kB
          Rohith Sharma K S

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: