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

    https://github.com/apache/spark/pull/3037#discussion_r19704384
  
    --- 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 --
    
    In order to keep the same style for all java related method. such as 
createStream and createPollingStream.So several jssc have been changed.


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

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

Reply via email to