Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/9070#discussion_r41731525
--- Diff:
streaming/src/main/scala/org/apache/spark/streaming/dstream/ConstantInputDStream.scala
---
@@ -27,6 +28,9 @@ import scala.reflect.ClassTag
class ConstantInputDStream[T: ClassTag](ssc_ : StreamingContext, rdd:
RDD[T])
extends InputDStream[T](ssc_) {
+ require(rdd != null,
--- End diff --
(This could have been resolved with
https://github.com/apache/spark/pull/8881 for more consistency rather than a
different patch)
Is this inconsistent with SPARK-10772 and the other changes, which cause
`SparkException`?
---
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]