Example:
spark standalone cluster add 1 machine(16 cpus) as worker
commit application not setting
spark.executor.cores
then it will create1 worker with 16 cores
commit with
spark.executor.cores=15
then it will create 1 worker with 15 corescommit with
spark.executor.cores=5
then it will create 3 workers with 5 cores each worker
Now i want to limit cpu usage, only want 5 cores to be used
my question is:
how to set only 1 worker with 5 cores