Updated on 2024-11-29 GMT+08:00

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:

Table 1 Parameter description

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