Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/11140#discussion_r52544228
--- Diff: core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala
---
@@ -874,10 +890,14 @@ private class PythonAccumulatorParam(@transient
private val serverHost: String,
private[spark] class PythonBroadcast(@transient var path: String) extends
Serializable
with Logging {
- /**
- * Read data from disks, then copy it to `out`
- */
- private def writeObject(out: ObjectOutputStream): Unit =
Utils.tryOrIOException {
+ val queue = new ReferenceQueue[File]()
+ val phantomReferences = new ListBuffer[FilePhantomReference]()
+ val threadName = "WeakReference"
+/**
--- End diff --
can you fix the indentation here, and add proper blank lines (line before
the doc, not after)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]