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

18 lines
3.1 KiB
HTML

<a name="mrs_01_2089"></a><a name="mrs_01_2089"></a>
<h1 class="topictitle1">Why Are Applications Suspended After They Are Moved From Lost_and_Found Queue to Another Queue?</h1>
<div id="body1596167575160"><div class="section" id="mrs_01_2089__s41c6c3a156a1487eb51281a9970948e5"><h4 class="sectiontitle">Question</h4><p id="mrs_01_2089__a0c3def522568492d86e65ec7923896a3">When a queue is deleted when there are applications running in it, these applications are moved to the "lost_and_found" queue. When these applications are moved back to another healthy queue, some tasks are suspended.</p>
</div>
<div class="section" id="mrs_01_2089__s6404354f726d4b01b918a2c6a6827e59"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_2089__a279f8f1febf9444190a9befc7e2e4ef9">If no label expression is set for the current application, the default label expression of the queue is used as label expression for new container/resource demands requested by the application. If there is no default label expression of the queue, then <span class="parmvalue" id="mrs_01_2089__p82607ba2e1704fbcb53ca73e1fd1be0d"><b>default label</b></span> is considered as the label expression for new container/resource demands requested by the application.</p>
<p id="mrs_01_2089__ade6351e3a8ee4d089568a36259eaff7a">When application app1 is submitted to the queue Q1, <span class="parmvalue" id="mrs_01_2089__p74a8da1178d4427dbbff737251f68e4a"><b>label1</b></span>, the default label expression of the queue, is used for the application's new resource requests/ containers. If Q1 is deleted when app1 is running, app1 is moved to the "lost_and_found" queue. Because there is no label expression of the "lost_and_found" queue, <span class="parmvalue" id="mrs_01_2089__ped39405f7d7442959fbcf3bc53952150"><b>default label</b></span> is used as the label expression of app1's new resource requests/containers. Assume that app1 is moved to another normal queue Q2. If Q2 supports <span class="parmvalue" id="mrs_01_2089__pef5cf4f591524f0f929de2ce35929274"><b>label1</b></span> and <span class="parmvalue" id="mrs_01_2089__p4e88a17b0fc343c5a11b4c8c17760f68"><b>default label</b></span>, app1 can run properly. If Q2 does not support <span class="parmname" id="mrs_01_2089__pc0e400034eaf4dfdb25911c0abf30ad7"><b>label1</b></span> or <span class="parmvalue" id="mrs_01_2089__p660dd4ad4bee4d609663c61225c9b5ea"><b>default label</b></span>, the resource request with <span class="parmvalue" id="mrs_01_2089__paa5c369eff9c4794b5b7d6eb67e76a45"><b>label1</b></span> or <span class="parmvalue" id="mrs_01_2089__pcda1285867994336af79036c1107130f"><b>default label</b></span> cannot obtain resources, causing task suspension.</p>
<p id="mrs_01_2089__a1721193ceb23419486172bcc869220b2">To solve this problem, ensure that the queue to which the application is moved from "lost_and_found" queue supports label expression of the moved application.</p>
<p id="mrs_01_2089__a453743c4dd9d451f9d8f176fc48d57da">You are not advised to delete a queue in which there are running applications.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_2077.html">Common Issues About Yarn</a></div>
</div>
</div>