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
4.1 KiB
HTML

<a name="mrs_01_0838"></a><a name="mrs_01_0838"></a>
<h1 class="topictitle1">Transmitting MapReduce Tasks from Windows to Linux</h1>
<div id="body1590130628532"><div class="section" id="mrs_01_0838__sa90a67f2f1a04fbcb38cd2f8ee841d95"><h4 class="sectiontitle">Scenarios</h4><p id="mrs_01_0838__aa28e6ea095ab45c4be828ee9a76d75fe">If you want to transmit a job from Windows to Linux, set <strong id="mrs_01_0838__b483111491839">mapreduce.app-submission.cross-platform</strong> to <strong id="mrs_01_0838__b139288541235">true</strong>. If this parameter is unavailable for a cluster or its value is <strong id="mrs_01_0838__b134636298512">false</strong>, the function of transmitting MapReduce tasks from Windows to Linux is not supported. In this case, perform the following operations to add this parameter or change its value to enable this function:</p>
<div class="note" id="mrs_01_0838__note1286611300323"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_0838__p1486614300321">This section applies to MRS 3.<em id="mrs_01_0838__i7926112172415">x</em> or later.</p>
</div></div>
</div>
<div class="section" id="mrs_01_0838__s1f287267f12a41909077a2e790b03d3c"><h4 class="sectiontitle">Configuration Description</h4><p id="mrs_01_0838__a8eba7400305540d0ac49fd526c4da3c8">Adjust the following parameter in the <span class="filepath" id="mrs_01_0838__f72d5c6dec20f4586a9264a24fb5a0ba7"><b>mapred-site.xml</b></span> configuration file on the client to enable the running of MapReduce tasks: The <span class="filepath" id="mrs_01_0838__filepath13951112824814"><b>mapred-site.xml</b></span> configuration file is in the <strong id="mrs_01_0838__b104260055052235">config</strong> directory of the client installation path, for example, <strong id="mrs_01_0838__b1725453013384">/opt/</strong><strong id="mrs_01_0838__b025473019383"></strong><strong id="mrs_01_0838__b625411302389">client/Yarn/config</strong>.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_0838__te7de35d7a5cc4bf9b33ce0c91f24ded0" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters</caption><thead align="left"><tr id="mrs_01_0838__r9d89b2afe9df44f99eeb97401eb573e0"><th align="left" class="cellrowborder" valign="top" width="20.93%" id="mcps1.3.2.3.2.4.1.1"><p id="mrs_01_0838__a64feaf16bdfd44f4b70274082c127e8a"><strong id="mrs_01_0838__a6e90903dd56d4c339a7ad8d52de0cac8">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_0838__a69899e5d865f4a7684f290abfad96d71"><strong id="mrs_01_0838__afc959bb0494e446c94f9d859c278a81a">Description</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.85%" id="mcps1.3.2.3.2.4.1.3"><p id="mrs_01_0838__a7f95cabd2318472cbd470686252ab8ad"><strong id="mrs_01_0838__a2fe16796d67642ffb6e24fc9be8249be">Default Value</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_01_0838__reaaa2bfb4ccf49988f8dd7ad35a90bb3"><td class="cellrowborder" valign="top" width="20.93%" headers="mcps1.3.2.3.2.4.1.1 "><p id="mrs_01_0838__a8340425465754f03ae4ee239dad541dc">mapreduce.app-submission.cross-platform</p>
</td>
<td class="cellrowborder" valign="top" width="63.22%" headers="mcps1.3.2.3.2.4.1.2 "><p id="mrs_01_0838__a640ca996e4cb46f4a1d005b21cba12f6">Indicates whether to support running of MapReduce tasks after they are transmitted from Windows to Linux. When the parameter value is <span class="parmvalue" id="mrs_01_0838__p0f1b79403e0e454b86081aa36356bee5"><b>true</b></span>, the running of MapReduce tasks is supported. When the parameter value is <span class="parmvalue" id="mrs_01_0838__p56300052e33148c7986c3ea36cd1015e"><b>false</b></span>, the running of MapReduce tasks is not supported. </p>
</td>
<td class="cellrowborder" valign="top" width="15.85%" headers="mcps1.3.2.3.2.4.1.3 "><p id="mrs_01_0838__a12ff86082fa845c2bc053a0cdb6f1e29">true</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>