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

46 lines
5.9 KiB
HTML

<a name="mrs_01_0868"></a><a name="mrs_01_0868"></a>
<h1 class="topictitle1">Configuring Users That Run Tasks</h1>
<div id="body1590130748004"><p id="mrs_01_0868__p66802238367">This section applies to clusters of MRS 3.<em id="mrs_01_0868__i2249192018010">x</em> or later.</p>
<div class="section" id="mrs_01_0868__s5a8e3f67e0974050adfa47df82da1e58"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0868__a78578421b25f4a5b905f2f83bbf55fb1">Currently, YARN allows the user that starts the NodeManager to run the task submitted by all other users, or the users to run the task submitted by themselves.</p>
</div>
<div class="section" id="mrs_01_0868__s32482ebdf4524887aba2a8844459db7f"><h4 class="sectiontitle">Configuration Description</h4><p id="mrs_01_0868__ad6527ab404ec4fd1bb3aa0ad4ce3e93d">On Manager, choose <strong id="mrs_01_0868__b15833152318020">Cluster</strong> &gt; <em id="mrs_01_0868__i284052311015">Name of the desired cluster</em> &gt; <strong id="mrs_01_0868__b1840623902">Services</strong> &gt; <strong id="mrs_01_0868__b158401623005">Yarn</strong> &gt; <strong id="mrs_01_0868__b118419232012">Configurations</strong>. Click <span class="parmvalue" id="mrs_01_0868__parmvalue1336781817512"><b>All Configurations</b></span> Enter a parameter name in the search box.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_0868__t00291fac22f7487ab44121d200605ce8" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="mrs_01_0868__r8d61aff91ad948f0be99cd4777c38e6f"><th align="left" class="cellrowborder" valign="top" width="33.226677332266775%" id="mcps1.3.3.3.2.4.1.1"><p id="mrs_01_0868__a98da5f9a797b4cfdbfcf8088e525e527"><strong id="mrs_01_0868__aeecc4554b9c2461cb0dab95bee020a76">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="29.63703629637036%" id="mcps1.3.3.3.2.4.1.2"><p id="mrs_01_0868__a666a71542a6d49799bfc25085cc1656d"><strong id="mrs_01_0868__ad9b41d78ce7840589462dd168eb06450">Description</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="37.136286371362864%" id="mcps1.3.3.3.2.4.1.3"><p id="mrs_01_0868__ad0b108196aea471fa9726dbb8ef2ded2"><strong id="mrs_01_0868__a340b9944627a4f4993b695a5a5e56e50">Default Value</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_01_0868__reaf1aa07ecbf42dfad00d8e6e762d521"><td class="cellrowborder" valign="top" width="33.226677332266775%" headers="mcps1.3.3.3.2.4.1.1 "><p id="mrs_01_0868__a06d74666e5734191b6b0a5bc37d9f3e3">yarn.nodemanager.linux-container-executor.user</p>
</td>
<td class="cellrowborder" valign="top" width="29.63703629637036%" headers="mcps1.3.3.3.2.4.1.2 "><p id="mrs_01_0868__aa223c1e429824bb4a708000a72a29bc0">Indicates the user who runs a task.</p>
</td>
<td class="cellrowborder" valign="top" width="37.136286371362864%" headers="mcps1.3.3.3.2.4.1.3 "><p id="mrs_01_0868__a6d93f11d719847ca9b9af3a0d1a8c7c8">The value is left blank by default.</p>
<div class="note" id="mrs_01_0868__nc0af2bb26fde4b03810cd0e00bec9d76"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="mrs_01_0868__a1893ec1aacd34b22aed3a7eca370dc2d">The value is left blank by default. The user who submits a task is the actual person who runs the task.</p>
</div></div>
</td>
</tr>
<tr id="mrs_01_0868__r44403ea523704650965163364474d40c"><td class="cellrowborder" valign="top" width="33.226677332266775%" headers="mcps1.3.3.3.2.4.1.1 "><p id="mrs_01_0868__a16a88dbeecb2477392936ad8517cd46f"><span id="mrs_01_0868__p091a619b265a4bf1bea141bfebb3a913">yarn.nodemanager.container-executor.class</span></p>
</td>
<td class="cellrowborder" valign="top" width="29.63703629637036%" headers="mcps1.3.3.3.2.4.1.2 "><p id="mrs_01_0868__a206b1482496a4b22afae2871e3c8f7a8">Indicates the executor who starts a task.</p>
</td>
<td class="cellrowborder" valign="top" width="37.136286371362864%" headers="mcps1.3.3.3.2.4.1.3 "><p id="mrs_01_0868__afc50c8042607473a84b9e8d16d4e5980"><span id="mrs_01_0868__pd69d104b94844c159dfdcdd487a5283a">org.apache.hadoop.yarn.server.nodemanager.EnhancedLinuxContainerExecutor</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="note" id="mrs_01_0868__note13569351102314"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="mrs_01_0868__ul68241940103013"><li id="mrs_01_0868__li282464020301">Set <span class="parmname" id="mrs_01_0868__parmname5276414102412"><b>yarn.nodemanager.linux-container-executor.user</b></span> to configure the user who runs the container. This parameter is left blank by default. The user who submits the task is the person who runs the container. This parameter is valid only when <span class="parmname" id="mrs_01_0868__parmname72761814102415"><b>yarn.nodemanager.container-executor.class</b></span> is set to <span class="parmvalue" id="mrs_01_0868__parmvalue8276131422413"><b>org.apache.hadoop.yarn.server.nodemanager.EnhancedLinuxContainerExecutor</b></span>.</li><li id="mrs_01_0868__li1382416406303">In non-security mode, if <span class="parmname" id="mrs_01_0868__parmname4313141116263"><b>yarn.nodemanager.linux-container-executor.user</b></span> is set to <strong id="mrs_01_0868__b168218630942232">omm</strong>, <span class="parmname" id="mrs_01_0868__parmname203311510142516"><b>yarn.nodemanager.linux-container-executor.nonsecure-mode.local-user</b></span> must also be set to <strong id="mrs_01_0868__b22303000642232">omm</strong>.</li><li id="mrs_01_0868__li158241140113017">For security reasons, it is advised to retain the default values of <span class="parmname" id="mrs_01_0868__p132efb91cd2b452694e32a2b57703d5d"><b>yarn.nodemanager.linux-container-executor.user</b></span> and <span class="parmname" id="mrs_01_0868__p781d11434f724ff1804d6aac40deeb60"><b>yarn.nodemanager.container-executor.class</b></span>.</li></ul>
</div></div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0851.html">Using Yarn</a></div>
</div>
</div>