Skip to content
Snippets Groups Projects
Commit a75bc7a2 authored by Jacek Lewandowski's avatar Jacek Lewandowski Committed by Andrew Or
Browse files

SPARK-3009: Reverted readObject method in ApplicationInfo so that Applic...

...ationInfo is initialized properly after deserialization

Author: Jacek Lewandowski <lewandowski.jacek@gmail.com>

Closes #1947 from jacek-lewandowski/master and squashes the following commits:

713b2f1 [Jacek Lewandowski] SPARK-3009: Reverted readObject method in ApplicationInfo so that ApplicationInfo is initialized properly after deserialization
parent a7f8a4f5
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,11 @@ private[spark] class ApplicationInfo(
init()
private def readObject(in: java.io.ObjectInputStream): Unit = {
in.defaultReadObject()
init()
}
private def init() {
state = ApplicationState.WAITING
executors = new mutable.HashMap[Int, ExecutorInfo]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment