[ 
https://issues.apache.org/jira/browse/YARN-7721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16991693#comment-16991693
 ] 

Wilfred Spiegelenburg commented on YARN-7721:
---------------------------------------------

If there is a problem with the {{transferStateFromPreviousAttempt}} call itself 
then it should cause other tests to fail.
It is not a generic issue in the sense that we always want to wait until 
{{getLastScheduledContainer}} returns a non null value. In the case that we are 
scheduling normally, i.e. non test code, there is no problem and we do not want 
to delay there.

There is nothing left to do for this jira except commit the code, that was why 
it was assigned to [~sunilg] [~prabhujoseph] or [~snemeth] could also do that.

> 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 Darrell Lowe
>            Assignee: Sunil G
>            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
(v8.3.4#803005)

---------------------------------------------------------------------
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