[ 
https://issues.apache.org/jira/browse/YARN-5608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rohith Sharma K S updated YARN-5608:
------------------------------------
    Attachment: YARN-5608.patch

Added a assertion to verify number of nodeReports are same as nodeCount. But 
again test will fail with added assertion. Real root cause need to find why 
nodes did not get registered. May be test run logs will help to know this 
details

> TestAMRMClient.setup() fails with ArrayOutOfBoundsException
> -----------------------------------------------------------
>
>                 Key: YARN-5608
>                 URL: https://issues.apache.org/jira/browse/YARN-5608
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>            Reporter: Daniel Templeton
>         Attachments: YARN-5608.patch
>
>
> After 39 runs the {{TestAMRMClient}} test, I encountered:
> {noformat}
> 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)
> {noformat}
> I see it shows up occasionally in the error emails as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to