GitHub user scwf opened a pull request:
https://github.com/apache/spark/pull/429
[SPARK-1361] DAGScheduler throws NullPointerException occasionally
this is an order issue of construction and starting of the taskScheduler
and the dagScheduler in SparkContext. now taskScheduler start before
dagScheduler, so executor backend may register executor even before
dagScheduler(or the eventProcessActor) has not initialized. in this situation
it will throw NPE
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/scwf/spark dagnpe
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/429.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #429
----
commit ae20111d2fa0c9ecd323911dd3ae6d55e7e2998d
Author: wangfei <[email protected]>
Date: 2014-04-16T15:57:24Z
Update SparkContext.scala
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---