[ https://issues.apache.org/jira/browse/SPARK-22900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16303277#comment-16303277 ]
Apache Spark commented on SPARK-22900: -------------------------------------- User 'sharkdtu' has created a pull request for this issue: https://github.com/apache/spark/pull/20078 > 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