I'm not sure I understand this change. First, we already pass in {{CORES}}. Second, the CoarseGrainedExecutorBackend seems to take in the arguments as listed here:
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/executor/CoarseGrainedExecutorBackend.scala#L132