sharkd tu created SPARK-22900:
---------------------------------

             Summary: remove unnecessary restrict for streaming dynamic 
allocation
                 Key: SPARK-22900
                 URL: https://issues.apache.org/jira/browse/SPARK-22900
             Project: Spark
          Issue Type: Improvement
          Components: DStreams
    Affects Versions: 2.3.0
            Reporter: sharkd tu


When i set the conf `spark.streaming.dynamicAllocation.enabled=true`, the conf 
`num-executors` can not be set. As a result, it will allocate default 2 
executors and all receivers will be run on this 2 executors, there may not be 
redundant cpu cores for tasks. it will stuck all the time.

in my opinion, we should remove unnecessary restrict for streaming dynamic 
allocation. we can set `num-executors` and 
`spark.streaming.dynamicAllocation.enabled=true` together. when application 
starts, each receiver will be run on an executor.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to