Github user vanzin commented on the pull request:

    https://github.com/apache/spark/pull/2746#issuecomment-60799644
  
    One question: is `spark.dynamicAllocation.minExecutors` necessary? Can't 
that be set to the initial number of executors requested by the user (i.e. 
`spark-submit --num-executors`)? That seems more logical to me, otherwise you 
have this weird situation:
    
    * --num-executors = 1
    * spark.dynamicAllocation.minExecutors = 10
    * spark.dynamicAllocation.maxExecutors = 20
    
    After the dynamic allocation code runs and your app goes back to idle, 
you'll end up with 11 (or 10? didn't follow the math closely) executors running.


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