MAPREDUCE服务 MRS-配置多主实例与多租户模式切换:配置场景

时间:2024-07-02 16:39:49

配置场景

在使用集群中,如果需要在多主实例模式与多租户模式之间切换,则还需要进行如下参数的设置。

  • 多租户切换成多主实例模式
    修改Spark2x服务的以下参数:
    • spark.thriftserver.proxy.enabled=false
    • spark.scheduler.allocation.file=#{conf_dir}/fairscheduler.xml
    • spark.proxyserver.hash.enabled=false
  • 多主实例切换成多租户模式
    修改Spark2x服务的以下参数:
    • spark.thriftserver.proxy.enabled=true
    • spark.scheduler.allocation.file=./__spark_conf__/__hadoop_conf__/fairscheduler.xml
    • spark.proxyserver.hash.enabled=true
support.huaweicloud.com/cmpntguide-lts-mrs/mrs_01_1944.html