Yang, Tong 6182f91ba8 MRS component operation guide_normal 2.0.38.SP20 version
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>
2022-12-09 14:55:21 +00:00

51 lines
4.4 KiB
HTML

<a name="mrs_01_0811"></a><a name="mrs_01_0811"></a>
<h1 class="topictitle1">Reducing the Probability of Abnormal Client Application Operation When the Network Is Not Stable</h1>
<div id="body1590130535019"><div class="section" id="mrs_01_0811__s1d10b87939aa4a64aa71e6b909d60dee"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0811__a1c018bfa83a94d28826357d8fee49dd4">Clients probably encounter running errors when the network is not stable. Users can adjust the following parameter values to improve the running efficiency.</p>
</div>
<div class="section" id="mrs_01_0811__s71bd1651df1040bfad87a63aa5e7f686"><h4 class="sectiontitle">Configuration Description</h4><p id="mrs_01_0811__p1734202313317">Go to the <strong id="mrs_01_0811__b165532001552127">All Configurations</strong> page of HDFS and enter a parameter name in the search box by referring to <a href="mrs_01_2125.html">Modifying Cluster Service Configuration Parameters</a>.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_0811__tea1b44e1d1a145409309431fd57e1c84" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="mrs_01_0811__r12f919d636ce4a058863486d02d2b676"><th align="left" class="cellrowborder" valign="top" width="20.36%" id="mcps1.3.2.3.2.4.1.1"><p id="mrs_01_0811__abeec7ea8c21c4f66bbc49cfd141d4f57"><strong id="mrs_01_0811__b6630315338">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="63.22%" id="mcps1.3.2.3.2.4.1.2"><p id="mrs_01_0811__ad72f0b25764746c4acb5f9b90fbab4be"><strong id="mrs_01_0811__b782312373313">Description</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.42%" id="mcps1.3.2.3.2.4.1.3"><p id="mrs_01_0811__af991b00ec80247569832561ac6d9f404"><strong id="mrs_01_0811__b176651955339">Default Value</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_01_0811__red18a4050f8e41efaa34b43727d33a8b"><td class="cellrowborder" valign="top" width="20.36%" headers="mcps1.3.2.3.2.4.1.1 "><p id="mrs_01_0811__a62e07d7982664af6b4be685f2452ac6e">ha.health-monitor.rpc-timeout.ms</p>
</td>
<td class="cellrowborder" valign="top" width="63.22%" headers="mcps1.3.2.3.2.4.1.2 "><p id="mrs_01_0811__aa13fa54b63954a51ab2221c9ec2bc05f">Timeout interval during the NameNode health check performed by ZKFC. Increasing this value can prevent dual active NameNodes and reduce the probability of application running exceptions on clients.</p>
<p id="mrs_01_0811__a4f0be74b777545fcb3a3e4c0c106a76c">Unit: millisecond. Value range: 30,000 to 3,600,000</p>
</td>
<td class="cellrowborder" valign="top" width="16.42%" headers="mcps1.3.2.3.2.4.1.3 "><p id="mrs_01_0811__a930a2d605eab4792a0684221c40a05c2">180,000</p>
</td>
</tr>
<tr id="mrs_01_0811__rfe3feb7761754fef9c3e1308c17a63bf"><td class="cellrowborder" valign="top" width="20.36%" headers="mcps1.3.2.3.2.4.1.1 "><p id="mrs_01_0811__ae91dd53137e048a5a455a6f6f41f4183">ipc.client.connect.max.retries.on.timeouts</p>
</td>
<td class="cellrowborder" valign="top" width="63.22%" headers="mcps1.3.2.3.2.4.1.2 "><p id="mrs_01_0811__a95e17d502d3448189c0180a56f956eab">Number of retry times when the socket connection between a server and a client times out.</p>
<p id="mrs_01_0811__p382412512335">Value range: 1 to 256</p>
</td>
<td class="cellrowborder" valign="top" width="16.42%" headers="mcps1.3.2.3.2.4.1.3 "><p id="mrs_01_0811__a7dbf275c7d264740a53b8a5e9eac0533">45</p>
</td>
</tr>
<tr id="mrs_01_0811__rb99c380e85ae4ee59280e285f7a68124"><td class="cellrowborder" valign="top" width="20.36%" headers="mcps1.3.2.3.2.4.1.1 "><p id="mrs_01_0811__ad407d92af5f247e1a7665b0e785dffbf">ipc.client.connect.timeout</p>
</td>
<td class="cellrowborder" valign="top" width="63.22%" headers="mcps1.3.2.3.2.4.1.2 "><p id="mrs_01_0811__afa946e7fed554408ae84dcc23321a9c0">Timeout interval of the socket connection between a client and a server. Increasing the value of this parameter increases the timeout interval for setting up a connection.</p>
<p id="mrs_01_0811__a26dea57b9b5d4af7b8788150ae362dd5">Unit: millisecond. Value range: 1 to 3,600,000</p>
</td>
<td class="cellrowborder" valign="top" width="16.42%" headers="mcps1.3.2.3.2.4.1.3 "><p id="mrs_01_0811__ae6b3a432acb148df87ad12addb01800c">20,000</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0790.html">Using HDFS</a></div>
</div>
</div>