Configuring Multi-active Instance Mode
Scenario
In this mode, multiple ThriftServers coexist in the cluster and the client can randomly connect any ThriftServer to perform service operations. When one or multiple ThriftServers stop working, a client can connect to another functional ThriftServer.
Configuration Description
Log in to FusionInsight Manager and choose Cluster > Services > Spark. Click Configurations then All Configurations, and search for and modify the following parameters:
Parameter |
Description |
Default Value |
---|---|---|
spark.thriftserver.zookeeper.connection.timeout |
Specifies the timeout interval of connection between ZooKeeper client and ThriftServer. The unit is millisecond. |
60000 |
spark.thriftserver.zookeeper.session.timeout |
Specifies the timeout interval of a ZooKeeper client session. The unit is millisecond. |
90000 |
spark.thriftserver.zookeeper.retry.times |
Specifies the retry times after ZooKeeper disconnection. |
3 |
spark.yarn.queue |
Specifies the Yarn queue where the JDBCServer service resides. |
default |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot