[ 
https://issues.apache.org/jira/browse/SPARK-14531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herman Schistad updated SPARK-14531:
------------------------------------
    Description: 
As far as I can understand the FlumeUtils.createPollingStream(...) ignores key 
spark streaming configuration options such as:

spark.streaming.backpressure.enabled
spark.streaming.receiver.maxRate
...

I might just be mistaken, but since the DEFAULT_POLLING_BATCH_SIZE is set to 
1000 in the source code itself, then I presume it should use the variables 
above instead.

*Relevant code:*  
https://github.com/apache/spark/blob/master/external/flume/src/main/scala/org/apache/spark/streaming/flume/FlumeUtils.scala

  was:
As far as I can understand the FlumeUtils.createPollingStream(...) ignores key 
spark streaming configuration options such as:

spark.streaming.backpressure.enabled
spark.streaming.receiver.maxRate
...

I might just be mistaken, but since the DEFAULT_POLLING_BATCH_SIZE is set to 
1000 in the source code itself, then I presume it should use the variables 
above instead.


> Flume streaming should respect maxRate (and backpressure)
> ---------------------------------------------------------
>
>                 Key: SPARK-14531
>                 URL: https://issues.apache.org/jira/browse/SPARK-14531
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 1.6.1
>            Reporter: Herman Schistad
>            Priority: Minor
>
> As far as I can understand the FlumeUtils.createPollingStream(...) ignores 
> key spark streaming configuration options such as:
> spark.streaming.backpressure.enabled
> spark.streaming.receiver.maxRate
> ...
> I might just be mistaken, but since the DEFAULT_POLLING_BATCH_SIZE is set to 
> 1000 in the source code itself, then I presume it should use the variables 
> above instead.
> *Relevant code:*  
> https://github.com/apache/spark/blob/master/external/flume/src/main/scala/org/apache/spark/streaming/flume/FlumeUtils.scala



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to