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

36 lines
3.3 KiB
HTML

<a name="mrs_01_0840"></a><a name="mrs_01_0840"></a>
<h1 class="topictitle1">Configuring the MapReduce Shuffle Address</h1>
<div id="body1590130629900"><div class="section" id="mrs_01_0840__s026012d927e24f96b9f0303dfef37a5d"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0840__a22a370de2b3747c1bca1c4fa68f81b8c">When the MapReduce shuffle service is started, it attempts to bind an IP address based on local host. If the MapReduce shuffle service is required to connect to a specific IP address, no configuration is available. The following description allows you to configure a connection to a specific IP address.</p>
</div>
<div class="section" id="mrs_01_0840__s2eaff574ab514384a3f9c0a7b90ade0e"><h4 class="sectiontitle">Configuration</h4><p id="mrs_01_0840__a9797343a14634c8f9e0f3983a15c5196">To bind a specific IP address to the MapReduce shuffle service, set the following parameters in the <span class="filepath" id="mrs_01_0840__fe7b059cce77a45ed8a55f280340deac0"><b>mapred-site.xml</b></span> configuration file of the node where the NodeManager instance resides:</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_0840__teecad1d17de341e8a02189d82be882de" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="mrs_01_0840__r81065d68158d44ffad4ce8f33ef8fb94"><th align="left" class="cellrowborder" valign="top" width="29.32%" id="mcps1.3.2.3.2.4.1.1"><p id="mrs_01_0840__a59174bbea9fb4058aac8b12ee90fa815">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="42.67%" id="mcps1.3.2.3.2.4.1.2"><p id="mrs_01_0840__adf93f641128f46cc8c54875a1a113402">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="28.01%" id="mcps1.3.2.3.2.4.1.3"><p id="mrs_01_0840__aee02aeb639c34c67805fa0373e858dbd">Default Value</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_01_0840__rb1a1b29520984d7d9e7869c57566eb4c"><td class="cellrowborder" valign="top" width="29.32%" headers="mcps1.3.2.3.2.4.1.1 "><p id="mrs_01_0840__ac005ab4a4c8b48979d66112e23528c03">mapreduce.shuffle.address</p>
</td>
<td class="cellrowborder" valign="top" width="42.67%" headers="mcps1.3.2.3.2.4.1.2 "><p id="mrs_01_0840__af6ee75c9506a43d49aaa9c3980ef7ffc">Indicates the specified address to run the shuffle service. The format is <em id="mrs_01_0840__i155511137204118">IP:PORT</em>. The default value is empty. If this parameter is left empty, the local host IP address is bound. The default port number is 13562.</p>
<div class="note" id="mrs_01_0840__n9caad64f002e4737878067662befdfef"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="mrs_01_0840__a944543bb5ad14fa49c3082b4bcfbf1be">If the value of <em id="mrs_01_0840__i83282463422">PORT</em> is different from that of <strong id="mrs_01_0840__b95181250144210">mapreduce.shuffle.port</strong>, the <strong id="mrs_01_0840__b1844212573426">mapreduce.shuffle.port</strong> value does not take effect.</p>
</div></div>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.2.3.2.4.1.3 "><p id="mrs_01_0840__a08887bf61cf140b3961eed748bca7fc4">-</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0834.html">Using MapReduce</a></div>
</div>
</div>