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

    https://github.com/apache/spark/pull/550#discussion_r12023299
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/scheduler/ReceiverTracker.scala
 ---
    @@ -267,7 +267,7 @@ class ReceiverTracker(ssc: StreamingContext) extends 
Logging {
           // Run the dummy Spark job to ensure that all slaves have registered.
           // This avoids all the receivers to be scheduled on the same node.
           if (!ssc.sparkContext.isLocal) {
    -        ssc.sparkContext.makeRDD(1 to 50, 50).map(x => (x, 
1)).reduceByKey(_ + _, 20).collect()
    +        ssc.sparkContext.makeRDD(1 to 50, 50).map(x => (x, 
1)).reduceByKey((x: Int, y: Int) => x + y, 20).collect()
    --- End diff --
    
    This line is over 100 chars wide


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

Reply via email to