spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Or (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-12037) Executors use heartbeatReceiverRef to report heartbeats and task metrics that might not be initialized and leads to NullPointerException
Date Tue, 01 Dec 2015 01:21:10 GMT

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

Andrew Or resolved SPARK-12037.
-------------------------------
          Resolution: Fixed
            Assignee: Nan Zhu
       Fix Version/s: 1.6.0
    Target Version/s: 1.6.0

> Executors use heartbeatReceiverRef to report heartbeats and task metrics that might not
be initialized and leads to NullPointerException
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-12037
>                 URL: https://issues.apache.org/jira/browse/SPARK-12037
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.6.0
>         Environment: The latest sources at revision {{c793d2d}}
>            Reporter: Jacek Laskowski
>            Assignee: Nan Zhu
>             Fix For: 1.6.0
>
>
> When {{Executor}} starts it starts driver heartbeater (using {{startDriverHeartbeater()}})
that uses {{heartbeatReceiverRef}} that is initialized later and there is a possibility of
NullPointerException (after {{spark.executor.heartbeatInterval}} or {{10s}}).
> {code}
> WARN Executor: Issue communicating with driver in heartbeater
> java.lang.NullPointerException
> 	at org.apache.spark.executor.Executor.org$apache$spark$executor$Executor$$reportHeartBeat(Executor.scala:447)
> 	at org.apache.spark.executor.Executor$$anon$1$$anonfun$run$1.apply$mcV$sp(Executor.scala:467)
> 	at org.apache.spark.executor.Executor$$anon$1$$anonfun$run$1.apply(Executor.scala:467)
> 	at org.apache.spark.executor.Executor$$anon$1$$anonfun$run$1.apply(Executor.scala:467)
> 	at org.apache.spark.util.Utils$.logUncaughtExceptions(Utils.scala:1717)
> 	at org.apache.spark.executor.Executor$$anon$1.run(Executor.scala:467)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message