spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tdas <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-8977][Streaming] Defines the RateEstima...
Date Mon, 27 Jul 2015 22:00:50 GMT
Github user tdas commented on a diff in the pull request:

    https://github.com/apache/spark/pull/7600#discussion_r35592677
  
    --- Diff: streaming/src/test/scala/org/apache/spark/streaming/scheduler/ReceiverTrackerSuite.scala
---
    @@ -110,8 +110,15 @@ class ReceiverTrackerSuite extends TestSuiteBase {
       }
     }
     
    -/** An input DStream with a hard-coded receiver that gives access to internals for testing.
*/
    -private class RateLimitInputDStream(@transient ssc_ : StreamingContext)
    +/**
    + * An input DStream with a hard-coded receiver that gives access to internals for testing.
    + *
    + * @note Make sure to call {{{SingletonDummyReceiver.reset()}}} before using this in
a test,
    + *       or otherwise you may get {{{NotSerializableException}}} when trying to serialize
    + *       the receiver.
    --- End diff --
    
    Why does it give that error?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message