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

    https://github.com/apache/spark/pull/566#discussion_r12044730
  
    --- Diff: 
external/flume/src/main/scala/org/apache/spark/streaming/flume/FlumeUtils.scala 
---
    @@ -66,6 +84,23 @@ object FlumeUtils {
           port: Int,
           storageLevel: StorageLevel
         ): JavaReceiverInputDStream[SparkFlumeEvent] = {
    -    createStream(jssc.ssc, hostname, port, storageLevel)
    +    createStream(jssc.ssc, hostname, port, storageLevel, false)
    +  }
    +
    +  /**
    +   * Creates a input stream from a Flume source.
    +   * @param hostname Hostname of the slave machine to which the flume data 
will be sent
    +   * @param port     Port of the slave machine to which the flume data 
will be sent
    +   * @param storageLevel  Storage level to use for storing the received 
objects
    +   * @param enableCompression  Should Netty Server decode input stream 
from client  
    --- End diff --
    
    Done


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