Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/6034#discussion_r30387808
--- Diff:
streaming/src/main/scala/org/apache/spark/streaming/dstream/InputDStream.scala
---
@@ -49,6 +49,9 @@ abstract class InputDStream[T: ClassTag] (@transient ssc_
: StreamingContext)
*/
private[streaming] def name: String = s"${getClass.getSimpleName}-$id"
+ /** Human-friendly scope name to use in place of generic operation names
(e.g. createStream). */
+ protected override val customScopeName: Option[String] = Some(s"input
stream [$id]")
--- End diff --
Why `protected` and not `private[streaming]` like `name` ?
---
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]