[ https://issues.apache.org/jira/browse/YARN-7721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16815263#comment-16815263 ]
Adam Antal commented on YARN-7721: ---------------------------------- {{SchedulerApplicationAttempt#getLastScheduledContainer}} is also used in {{SchedulerApplicationAttempt#transferStateFromPreviousAttempt}}. Can it happen that this issue appears there as well? I mean, if the test needs some time waiting, do we have to wait there as well? > TestContinuousScheduling fails sporadically with NPE > ---------------------------------------------------- > > Key: YARN-7721 > URL: https://issues.apache.org/jira/browse/YARN-7721 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler > Affects Versions: 3.1.0 > Reporter: Jason Lowe > Assignee: Wilfred Spiegelenburg > Priority: Major > Attachments: YARN-7721.001.patch > > > TestContinuousScheduling#testFairSchedulerContinuousSchedulingInitTime is > failing sporadically with an NPE in precommit builds, and I can usually > reproduce it locally after a few tries: > {noformat} > [ERROR] > testFairSchedulerContinuousSchedulingInitTime(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestContinuousScheduling) > Time elapsed: 0.085 s <<< ERROR! > java.lang.NullPointerException > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestContinuousScheduling.testFairSchedulerContinuousSchedulingInitTime(TestContinuousScheduling.java:383) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) > [...] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org