Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/22209#discussion_r215344056
--- Diff:
streaming/src/test/scala/org/apache/spark/streaming/UISeleniumSuite.scala ---
@@ -77,7 +77,14 @@ class UISeleniumSuite
inputStream.foreachRDD { rdd =>
rdd.foreach(_ => {})
try {
- rdd.foreach(_ => throw new RuntimeException("Oops"))
+ rdd.foreach { _ =>
+ import org.apache.spark.TaskContext
--- End diff --
This should be together with other imports. Will fix during merge.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]