Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
SPARK-3009: Reverted readObject method in ApplicationInfo so that App…
…lic...

...ationInfo is initialized properly after deserialization

Author: Jacek Lewandowski <[email protected]>

Closes apache#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
  • Loading branch information
jacek-lewandowski authored and andrewor14 committed Aug 14, 2014
commit a75bc7a21db07258913d038bf604c0a3c1e55b46
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down