apache/spark — pull request #1571 by twinkle-sachdeva (2014-07-24 11:07:45+00:00)
Title: SPARK-2604: Incorporating memory overhead of executor during the verifcation of cluster resources, before starting the application

While doing the validation for resources of application master and executor resources with cluster resources, corrected the comparison for executor resources, to keep it in sync with allocation handler, where we add and check the memory overhead too.
please see discussion https://issues.apache.org/jira/browse/SPARK-2604, to get more idea