How to change memory per node for apache spark worker

前端 未结 5 1934
别跟我提以往
别跟我提以往 2020-12-02 18:50

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         


        
5条回答
  •  星月不相逢
    2020-12-02 19:06

    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:

    export SPARK_WORKER_MEMORY=6g.

提交回复
热议问题