diff options
author | Tatiana Borisova <tanyatik@yandex.ru> | 2014-08-28 10:36:36 -0700 |
---|---|---|
committer | Josh Rosen <joshrosen@apache.org> | 2014-08-28 10:37:20 -0700 |
commit | fd98020a9a9880a09147f01d8480cab204e1c5d7 (patch) | |
tree | 8d12ddb4c447386086f740560e1c871b23cccb5b /docs/configuration.md | |
parent | f8f7a0c9dce764ece8acdc41d35bbf448dba7e92 (diff) | |
download | spark-fd98020a9a9880a09147f01d8480cab204e1c5d7.tar.gz spark-fd98020a9a9880a09147f01d8480cab204e1c5d7.tar.bz2 spark-fd98020a9a9880a09147f01d8480cab204e1c5d7.zip |
[SPARK-3150] Fix NullPointerException in in Spark recovery: Add initializing default values in DriverInfo.init()
The issue happens when Spark is run standalone on a cluster.
When master and driver fall simultaneously on one node in a cluster, master tries to recover its state and restart spark driver.
While restarting driver, it falls with NPE exception (stacktrace is below).
After falling, it restarts and tries to recover its state and restart Spark driver again. It happens over and over in an infinite cycle.
Namely, Spark tries to read DriverInfo state from zookeeper, but after reading it happens to be null in DriverInfo.worker.
https://issues.apache.org/jira/browse/SPARK-3150
Author: Tatiana Borisova <tanyatik@yandex.ru>
Closes #2062 from tanyatik/spark-3150 and squashes the following commits:
9936043 [Tatiana Borisova] Add initializing default values in DriverInfo.init()
(cherry picked from commit 70d814665baa8b8ca868d3126452105ecfa5cbff)
Signed-off-by: Josh Rosen <joshrosen@apache.org>
Diffstat (limited to 'docs/configuration.md')
0 files changed, 0 insertions, 0 deletions