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

15 lines
1.7 KiB
HTML

<a name="mrs_01_2087"></a><a name="mrs_01_2087"></a>
<h1 class="topictitle1">Why Does an Error Occur When I Query the ApplicationID of a Completed or Non-existing Application Using the RESTful APIs?</h1>
<div id="body1596167575157"><div class="section" id="mrs_01_2087__sed1a19e4f83a4885a7b78d921350fb22"><h4 class="sectiontitle">Question</h4><p id="mrs_01_2087__ae98a60a3a981456aa30e6966d61761d0">Why does an error occur when I query the applicationID of a completed or non-existing application using the RESTful APIs?</p>
</div>
<div class="section" id="mrs_01_2087__s3e51c73e2bb74d19a1c47c6b7c612f92"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_2087__afd735f0a479b4b92b393547097050f31">The Superior scheduler only stores the applicationIDs of running applications. If you view the applicationID of a completed or non-existing application by accessing the RESTful API at <span class="filepath" id="mrs_01_2087__faa41fb9ab003482da1737e19009de7da"><b>https://&lt;SS_REST_SERVER&gt;/ws/v1/sscheduler/applications/{application_id}</b></span>. the 404 error is returned by the server. If Chrome web browser is used, the <span class="uicontrol" id="mrs_01_2087__udbe72175b4764d7f859a8ebf6909c71e"><b>Error Occurred</b></span> message is displayed because chrome preferentially responds in the application/xml format. If Internet Explorer is used, the <span class="uicontrol" id="mrs_01_2087__ucabe397b67564578821d35a07ae76584"><b>404</b></span> error code is displayed because IE web browser preferentially responds in the application/json format.</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>