Github user aarondav commented on a diff in the pull request:
https://github.com/apache/spark/pull/764#discussion_r12617757
--- Diff: core/src/main/scala/org/apache/spark/InterruptibleIterator.scala
---
@@ -17,11 +17,14 @@
package org.apache.spark
+import org.apache.spark.annotation.DeveloperApi
+
/**
* An iterator that wraps around an existing iterator to provide task
killing functionality.
* It works by checking the interrupted flag in [[TaskContext]].
*/
-private[spark] class InterruptibleIterator[+T](val context: TaskContext,
val delegate: Iterator[T])
+@DeveloperApi
--- End diff --
Due to a bug in scaladoc, we also need to add ":: DeveloperApi ::" on the
line immediately preceding the first line of comments.
---
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.
---