forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
55 lines
4.8 KiB
HTML
55 lines
4.8 KiB
HTML
<a name="mrs_01_1942"></a><a name="mrs_01_1942"></a>
|
|
|
|
<h1 class="topictitle1">Configuring Multi-active Instance Mode</h1>
|
|
<div id="body1595920206242"><div class="section" id="mrs_01_1942__sac64230035884ea19f5bd62afa5fa520"><h4 class="sectiontitle">Scenarios</h4><p id="mrs_01_1942__aca74e07e171e4a5b81a8a2fe2389aad3">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. </p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1942__sdecae6addae94a05810fa09f898197b8"><h4 class="sectiontitle">Configuration Description</h4><p id="mrs_01_1942__ac158e19be7944083aa074cd5a3b6d7c9">Log in to Manager, choose <span id="mrs_01_1942__text179841816113617"><strong id="mrs_01_1942__b1097731623610">Cluster</strong> > <em id="mrs_01_1942__i129831116133614">Name of the desired cluster</em></span> > <strong id="mrs_01_1942__b12984181610368">Services</strong> > <strong id="mrs_01_1942__b698561615361">Spark2x</strong> > <strong id="mrs_01_1942__b1398517166361">Configurations</strong>, click <strong id="mrs_01_1942__b13986816183612">All Configurations</strong>, and search for and modify the following parameters.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_1942__t576a909ff9e04d18b418fb17d95de20c" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="mrs_01_1942__r73d7551a0a604a049aa40a67345d4e88"><th align="left" class="cellrowborder" valign="top" width="33.15%" id="mcps1.3.2.3.2.4.1.1"><p id="mrs_01_1942__a06f8acf44cd84b3ba6af6ef5e5696e2c">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="45.550000000000004%" id="mcps1.3.2.3.2.4.1.2"><p id="mrs_01_1942__a6761d06871d341e082c205bc7ee2f468">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.3%" id="mcps1.3.2.3.2.4.1.3"><p id="mrs_01_1942__abe09d4a986e54473affb698b58096b6b">Default Value</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_1942__r924d519d54ab422e8471df6b919f57a3"><td class="cellrowborder" valign="top" width="33.15%" headers="mcps1.3.2.3.2.4.1.1 "><p id="mrs_01_1942__a7cd57605d3ac4d85a67ef125a64a3098">spark.thriftserver.zookeeper.connection.timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.550000000000004%" headers="mcps1.3.2.3.2.4.1.2 "><p id="mrs_01_1942__a35debb6a38e9434e9bd3bb0e7dabd59f">Specifies the timeout interval of connection between ZooKeeper client and ThriftServer. The unit is millisecond.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.2.3.2.4.1.3 "><p id="mrs_01_1942__a1c2facf0d83c4e788b651d21a3d39adf">60000</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1942__r1a3e01964bc246fda3bc3bdb6213e804"><td class="cellrowborder" valign="top" width="33.15%" headers="mcps1.3.2.3.2.4.1.1 "><p id="mrs_01_1942__af115c4d358f245b8b18eb46e216664db">spark.thriftserver.zookeeper.session.timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.550000000000004%" headers="mcps1.3.2.3.2.4.1.2 "><p id="mrs_01_1942__a7202391a936847ea8ac65289da59e26f">Specifies the timeout interval of a ZooKeeper client session. The unit is millisecond.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.2.3.2.4.1.3 "><p id="mrs_01_1942__a79f80c1db6dd45ce8eec4eb051aade8f">90000</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1942__r66e0980498e447bcb907b4762756d211"><td class="cellrowborder" valign="top" width="33.15%" headers="mcps1.3.2.3.2.4.1.1 "><p id="mrs_01_1942__af253ad49dc86463e8d23df42bc87396f">spark.thriftserver.zookeeper.retry.times</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.550000000000004%" headers="mcps1.3.2.3.2.4.1.2 "><p id="mrs_01_1942__a6c042286be1845ae8ccfcb61e28717e9">Specifies the retry times after ZooKeeper disconnection.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.2.3.2.4.1.3 "><p id="mrs_01_1942__a3b16d16c7d2d4385837aea22dfcc4fb7">3</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1942__r40ebfd533a2648e39f22372b5b80d287"><td class="cellrowborder" valign="top" width="33.15%" headers="mcps1.3.2.3.2.4.1.1 "><p id="mrs_01_1942__a1fa9492783f6453495979adbd2a47faa">spark.yarn.queue</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.550000000000004%" headers="mcps1.3.2.3.2.4.1.2 "><p id="mrs_01_1942__a51dfab7b970543159fb11ae6ce7eca0d">Specifies the Yarn queue where the JDBCServer service resides.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.2.3.2.4.1.3 "><p id="mrs_01_1942__afed2c91654f241f2ae5357f9dabb061f">default</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1941.html">Scenario-Specific Configuration</a></div>
|
|
</div>
|
|
</div>
|
|
|