In mesos and standalone this puts a limit on the _total_ number of cores not cores per worker. So this is really a distinct thing (maybe appArgs.totalCores?) and not applicable in YARN mode.