forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: yangtong <yangtong2@huawei.com> Co-committed-by: yangtong <yangtong2@huawei.com>
24 lines
7.3 KiB
HTML
24 lines
7.3 KiB
HTML
<a name="admin_guide_000113"></a><a name="admin_guide_000113"></a>
|
|
|
|
<h1 class="topictitle1">Configuring the Queue Capacity Policy of a Resource Pool</h1>
|
|
<div id="body1537010673665"><div class="section" id="admin_guide_000113__s7d1917a857ff4d8cbf135b9242723518"><h4 class="sectiontitle">Scenario</h4><p id="admin_guide_000113__a7543d2eb94b447358b84b4ba7d170282">After a resource pool is added, you can configure the capacity policy of available resources for Yarn queues so that jobs in the queues can be properly executed in the resource pool.</p>
|
|
<p id="admin_guide_000113__a4b2a7850933c4f7e9adbd22e30fe44b7">This section describes how to configure the queue policy on <span id="admin_guide_000113__text15946118176">MRS</span> Manager. Tenant queues equipped with the Superior scheduler can use resources in different resource pools.</p>
|
|
</div>
|
|
<div class="section" id="admin_guide_000113__sbb92d64c1d9845c180fa8e892e5e46dd"><h4 class="sectiontitle">Prerequisites</h4><ul id="admin_guide_000113__u1b37ebad1f96476ebf8a60caae427015"><li id="admin_guide_000113__lde7b30f2958a43168c218de92a61213e">You have logged in to <span id="admin_guide_000113__text98393334717">MRS</span> Manager.</li></ul>
|
|
<ul id="admin_guide_000113__u5d77af7e3a024fcab978491f93d33145"><li id="admin_guide_000113__ld629ddc35aeb48afb9246ed51c46ff66">A resource pool has been added.</li><li id="admin_guide_000113__l1cb4df297d404fe89b064be134071374">The target queue is not associated with the resource pools of other queues except the default resource pool.</li></ul>
|
|
</div>
|
|
<div class="section" id="admin_guide_000113__s541e490b38e94a2c95343ef3dd770fba"><h4 class="sectiontitle">Procedure</h4><ol id="admin_guide_000113__of91d5678b57b4cf182192f098160f222"><li id="admin_guide_000113__l7202cfbb12354ef1bc9149798248b55d"><span>On <span id="admin_guide_000113__text168451344478">MRS</span> Manager, choose <strong id="admin_guide_000113__b84309012715">Tenant Resources</strong>.</span></li><li id="admin_guide_000113__lec68f17ac91640f2972162d37704d0c7"><span>Choose <strong id="admin_guide_000113__b1989718313716">Dynamic Resource Plan</strong>.</span></li><li id="admin_guide_000113__lf815466350844425b2d7b3542fa8fba5"><span>Click the <strong id="admin_guide_000113__b10493977713">Resource Distribution Policy</strong> tab.</span></li><li id="admin_guide_000113__le74ac6dee5774e3dbe1b570d6e458e4f"><span>Select the name of the target cluster from <strong id="admin_guide_000113__b373812521374">Cluster</strong> and select a resource pool from <strong id="admin_guide_000113__b81805224820">Resource Pool</strong>.</span></li><li id="admin_guide_000113__l0f707c3478e3468096c879fbb6005e4c"><span>Locate the row that contains the target queue in the <strong id="admin_guide_000113__b153279963211300">Resource Allocation</strong> area, and click <strong id="admin_guide_000113__b7581156121013">Modify</strong> in the <strong id="admin_guide_000113__b213743627111300">Operation</strong> column.</span></li><li id="admin_guide_000113__l167b355b62b24aa2bac55d99ec93cb8f"><span>On the <strong id="admin_guide_000113__b4843078115">Resource Configuration Policy</strong> tab of the <strong id="admin_guide_000113__b7891913121120">Modify Resource Allocation</strong> window, set the resource configuration policy of the queue in the resource pool.</span><p><ul id="admin_guide_000113__uf505861177194f34ba817ad81d35d0e3"><li id="admin_guide_000113__lf5e8b247cbe24e90a7a61938125013f8"><span class="parmname" id="admin_guide_000113__pc748f742e01d40df843e736c287cbdf8"><b>Weight</b></span>: indicates the resources that a tenant can obtain. Its initial value is the same as the minimum resource percentage.</li><li id="admin_guide_000113__l4efddff0e8ec448089b24c8cb7150553"><span class="parmname" id="admin_guide_000113__p2282aea9c7e348ba87a011634577e33d"><b>Minimum Resource</b></span>: indicates the minimum resources that a tenant can obtain.</li><li id="admin_guide_000113__lade9396b6a2b43729e55dac0812f5be6"><span class="parmname" id="admin_guide_000113__pce48a3bc74024d0eaaed77137051c9ee"><b>Maximum Resource</b></span>: indicates the maximum resources that a tenant can obtain.</li><li id="admin_guide_000113__l64fba0560120470cbe90161ed0a50982"><span class="parmname" id="admin_guide_000113__p6edf00e328b342659c37ec7d1998ac3f"><b>Reserved Resource</b></span>: indicates the resources that are reserved for the tenant's queues and cannot be lent to other tenants' queues.</li></ul>
|
|
</p></li><li id="admin_guide_000113__l1ed73e42e8084506862d9c4aa178454b"><span>Click the <strong id="admin_guide_000113__b127678603511300">User Policy</strong> tab in the <strong id="admin_guide_000113__b153375080011300">Modify Resource Allocation</strong> window and set the user policy.</span><p><div class="note" id="admin_guide_000113__n0918679848dd464cb91c67a462ff961a"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="admin_guide_000113__a33e35fde34de4449b6ce6e6933063e53"><strong id="admin_guide_000113__b10426649411300">defaultUser(built-in)</strong> indicates that the policy specified for <strong id="admin_guide_000113__b91649212111300">defaultUser</strong> is used if a user does not have a policy. The default policy cannot be deleted.</p>
|
|
</div></div>
|
|
<ul id="admin_guide_000113__uf7462529b772429b817178dd450f0864"><li id="admin_guide_000113__lb8d87b3a89804cbaa594d1345c645d0c">Click <strong id="admin_guide_000113__b154266823811300">Add User Policy</strong> to add a user policy.<ul id="admin_guide_000113__u6d76a76894af4851a9f167ed491d6b51"><li id="admin_guide_000113__l0e9d9ab4d0034736ae2ed9253ce07f92"><span class="parmname" id="admin_guide_000113__p98099cf8fc9f4b81bbca6264fc2ab7f9"><b>Username</b></span>: indicates the name of a user.</li><li id="admin_guide_000113__li4490211597"><strong id="admin_guide_000113__b3492981282">Priority</strong>: When task queues need to compete for resources, a queue with a higher priority obtains resources first. However, not all containers can be started. (This parameter is displayed for MRS 3.5.0 and later versions only.)</li><li id="admin_guide_000113__l524a3cefd8784605a02f5a7cd901d3e5"><span class="parmname" id="admin_guide_000113__p89ae64df9817406c807b3073625cbb61"><b>Max vCores</b></span>: indicates the maximum number of virtual cores that the user can obtain.</li><li id="admin_guide_000113__l39bf1e6ca53c4bb4b17e1632c5e2e9da"><span class="parmname" id="admin_guide_000113__pd78d83dedf3b499f8b4bab0da3aec4e1"><b>Max Memory(MB)</b></span>: indicates the maximum memory that the user can obtain.</li></ul>
|
|
</li><li id="admin_guide_000113__lb5d431c96d0146cb8232563ed76b6e86">Click <strong id="admin_guide_000113__b115419281511301">Modify</strong> in the <strong id="admin_guide_000113__b139934645411301">Operation</strong> column to modify an existing user policy.</li><li id="admin_guide_000113__l5f82f0cf40304c0092d1ca200bfec369">Click <strong id="admin_guide_000113__b12373370311301">Clear</strong> in the <strong id="admin_guide_000113__b97307428511301">Operation</strong> column to delete an existing user policy.</li></ul>
|
|
</p></li><li id="admin_guide_000113__l22a7021754d64801b39cc960297af261"><span>Click <strong id="admin_guide_000113__b64025849811301">OK</strong>.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="admin_guide_000108.html">Managing Resources</a></div>
|
|
</div>
|
|
</div>
|
|
|