I am configuring an Apache Spark cluster.
When I run the cluster with 1 master and 3 slaves, I see this on the master monitor page:
Memory 2.0 GB (51
The default configuration for the worker is to allocate Host_Memory - 1Gb for each worker. The configuration parameter to manually adjust that value is SPARK_WORKER_MEMORY, like in your question:
Host_Memory - 1Gb
SPARK_WORKER_MEMORY
export SPARK_WORKER_MEMORY=6g.
export SPARK_WORKER_MEMORY=6g