Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/21369#discussion_r209480155
--- Diff:
core/src/main/scala/org/apache/spark/util/collection/ExternalAppendOnlyMap.scala
---
@@ -114,7 +117,10 @@ class ExternalAppendOnlyMap[K, V, C](
private val keyComparator = new HashComparator[K]
private val ser = serializer.newInstance()
- @volatile private var readingIterator: SpillableIterator = null
+ /**
+ * Exposed for testing
+ */
+ @volatile private[collection] var readingIterator: SpillableIterator =
null
--- End diff --
This is not exposed in the test.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]