Configuring the Switchover Between the Multi-active Instance Mode and the Multi-tenant Mode
Scenarios
When using a cluster, if you want to switch between multi-active instance mode and multi-tenant mode, the following configurations are required.
- Switch from multi-tenant mode to multi-active instance mode.
- Switch from multi-active instance mode to multi-tenant mode.
Configuration Description
Log in to Manager, choose Cluster > Name of the desired cluster > Service > Spark2x > Configuration, click All Configurations, and search for and modify the following parameters.
Parameter |
Description |
Default Value |
---|---|---|
spark.thriftserver.proxy.enabled |
Specifies whether to use the multi-tenant mode.
|
true |
spark.scheduler.allocation.file |
Specifies the fair scheduling file path.
|
./__spark_conf__/__hadoop_conf__/fairscheduler.xml |
spark.proxyserver.hash.enabled |
Specifies whether to connect to ProxyServer using the Hash algorithm.
|
true
NOTE:
After this parameter is modified, you need to download the client again. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.