Github user tdas commented on a diff in the pull request:

    https://github.com/apache/spark/pull/7600#discussion_r35399180
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/dstream/InputDStream.scala 
---
    @@ -47,6 +49,14 @@ abstract class InputDStream[T: ClassTag] (@transient 
ssc_ : StreamingContext)
       /** This is an unique identifier for the input stream. */
       val id = ssc.getNewInputStreamId()
     
    +  // Keep track of the freshest rate for this stream using the 
rateEstimator
    +  protected[streaming] val rateController: Option[RateController] =
    +    RateEstimator.makeEstimator(ssc.conf).map { estimator =>
    --- End diff --
    
    And InputDStream should not have a RateController by default. So this 
should be None. Its will be upto implementation of InputDStream to override and 
define.


---
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]

Reply via email to