forked from docs/doc-exports
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>
1.9 KiB
1.9 KiB
Why Does an Error Occur When I Query the ApplicationID of a Completed or Non-existing Application Using the RESTful APIs?
Question
Why does an error occur when I query the applicationID of a completed or non-existing application using the RESTful APIs?
Answer
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 https://<SS_REST_SERVER>/ws/v1/sscheduler/applications/{application_id}. the 404 error is returned by the server. If Chrome web browser is used, the Error Occurred message is displayed because chrome preferentially responds in the application/xml format. If Internet Explorer is used, the 404 error code is displayed because IE web browser preferentially responds in the application/json format.
Parent topic: Common Issues About Yarn