chenyulin0719 commented on code in PR #449:
URL: https://github.com/apache/yunikorn-site/pull/449#discussion_r1667402342
##########
docs/api/scheduler.md:
##########
@@ -1705,6 +1621,9 @@ yunikorn_scheduler_vcore_nodes_usage{range="(80%,90%]"} 0
yunikorn_scheduler_vcore_nodes_usage{range="(90%,100%]"} 0
yunikorn_scheduler_vcore_nodes_usage{range="[0,10%]"} 0
```
+### Error response
+
+**Code** : `500 Internal Server Error`
Review Comment:
I didn't find the code for '/ws/v1/metrics' to return 500. Is this a
misplace?
##########
docs/api/scheduler.md:
##########
@@ -575,17 +569,12 @@ In the example below there are three allocations
belonging to two applications,
### Error response
-**Code** : `500 Internal Server Error`
+**Code** : `400 Bad Request` (URL query is invalid)
-**Content examples**
+**Code** : `404 Not Found` (Partition or Application not found)
Review Comment:
Partition and 'Queue' not found
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]