Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/21280#discussion_r187192553
--- Diff:
core/src/test/scala/org/apache/spark/scheduler/SparkListenerSuite.scala ---
@@ -583,3 +587,23 @@ private class
FirehoseListenerThatAcceptsSparkConf(conf: SparkConf) extends Spar
case _ =>
}
}
+
+private class SlowDeserializable(var readDuration: Int)
+ extends Externalizable {
+
+ def this() = this(0)
--- End diff --
Nevermind, thinking of `Serializable`.
"When an Externalizable object is reconstructed, an instance is created
using the public no-arg constructor"
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]