[ https://issues.apache.org/jira/browse/SPARK-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13988900#comment-13988900 ]
wangfei commented on SPARK-1361: -------------------------------- Hi Kousuke Saruta, this issue has already resolved. https://github.com/apache/spark/pull/186 > DAGScheduler throws NullPointerException occasionally > ----------------------------------------------------- > > Key: SPARK-1361 > URL: https://issues.apache.org/jira/browse/SPARK-1361 > Project: Spark > Issue Type: Bug > Components: Spark Core > Affects Versions: 0.9.0 > Reporter: wangfei > Fix For: 1.0.0 > > > DAGScheduler throws this NullPointerException below occasionally when running > spark apps. > java.lang.NullPointerException > at > org.apache.spark.scheduler.DAGScheduler.executorAdded(DAGScheduler.scala:186) > at > org.apache.spark.scheduler.TaskSchedulerImpl.executorAdded(TaskSchedulerImpl.scala:409) > at > org.apache.spark.scheduler.TaskSchedulerImpl$$anonfun$resourceOffers$1.apply(TaskSchedulerImpl.scala:210) > at > org.apache.spark.scheduler.TaskSchedulerImpl$$anonfun$resourceOffers$1.apply(TaskSchedulerImpl.scala:206) > at scala.collection.mutable.ArraySeq.foreach(ArraySeq.scala:73) > at > org.apache.spark.scheduler.TaskSchedulerImpl.resourceOffers(TaskSchedulerImpl.scala:206) > at > org.apache.spark.scheduler.cluster.CoarseGrainedSchedulerBackend$DriverActor.makeOffers(CoarseGrainedSchedulerBackend.scala:130) > at > org.apache.spark.scheduler.cluster.CoarseGrainedSchedulerBackend$DriverActor$$anonfun$receive$1.applyOrEls -- This message was sent by Atlassian JIRA (v6.2#6252)