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

    https://github.com/apache/spark/pull/3037#discussion_r19692337
  
    --- Diff: 
external/flume/src/main/scala/org/apache/spark/streaming/flume/FlumeUtils.scala 
---
    @@ -184,7 +184,7 @@ object FlumeUtils {
           hostname: String,
           port: Int
         ): JavaReceiverInputDStream[SparkFlumeEvent] = {
    -    createPollingStream(jssc, hostname, port, 
StorageLevel.MEMORY_AND_DISK_SER_2)
    +    createPollingStream(jssc.ssc, hostname, port, 
StorageLevel.MEMORY_AND_DISK_SER_2)
    --- End diff --
    
    Why make this change? Is this to reduce the 1 additional method call from 
the call chain?


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