This is an automated email from the ASF dual-hosted git repository.

ccondit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-site.git


The following commit(s) were added to refs/heads/master by this push:
     new d6b6c8d  [YUNIKORN-1167] Document new application stateLog attribute 
in REST API (#148)
d6b6c8d is described below

commit d6b6c8d7868e9bf0408fb7927b34db7782f4aa0b
Author: Craig Condit <[email protected]>
AuthorDate: Thu Mar 31 11:42:22 2022 -0500

    [YUNIKORN-1167] Document new application stateLog attribute in REST API 
(#148)
    
    Closes: #148
---
 docs/api/scheduler.md | 74 ++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 68 insertions(+), 6 deletions(-)

diff --git a/docs/api/scheduler.md b/docs/api/scheduler.md
index 625837f..8e77838 100644
--- a/docs/api/scheduler.md
+++ b/docs/api/scheduler.md
@@ -389,7 +389,21 @@ In the example below there are three allocations belonging 
to two applications.
         ],
         "applicationState": "Running",
         "user": "nobody",
-        "rejectedMessage": ""
+        "rejectedMessage": "",
+        "stateLog": [
+            {
+                "time": 1648741409145224000,
+                "applicationState": "Accepted"
+            },
+            {
+                "time": 1648741409145509400,
+                "applicationState": "Starting"
+            },
+            {
+                "time": 1648741409147432100,
+                "applicationState": "Running"
+            }
+        ]
     },
     {
         "applicationID": "application-0002",
@@ -448,7 +462,21 @@ In the example below there are three allocations belonging 
to two applications.
         ],
         "applicationState": "Running",
         "user": "nobody",
-        "rejectedMessage": ""
+        "rejectedMessage": "",
+        "stateLog": [
+            {
+                "time": 1648741409145224000,
+                "applicationState": "Accepted"
+            },
+            {
+                "time": 1648741409145509400,
+                "applicationState": "Starting"
+            },
+            {
+                "time": 1648741409147432100,
+                "applicationState": "Running"
+            }
+        ]
     }
 ]
 ```
@@ -544,7 +572,21 @@ In the example below there are three allocations belonging 
to two applications a
         ],
         "applicationState": "Running",
         "user": "nobody",
-        "rejectedMessage": ""
+        "rejectedMessage": "",
+        "stateLog": [
+            {
+                "time": 1648741409145224000,
+                "applicationState": "Accepted"
+            },
+            {
+                "time": 1648741409145509400,
+                "applicationState": "Starting"
+            },
+            {
+                "time": 1648741409147432100,
+                "applicationState": "Running"
+            }
+        ]
     },
     {
         "applicationID": "application-0002",
@@ -603,7 +645,21 @@ In the example below there are three allocations belonging 
to two applications a
         ],
         "applicationState": "Running",
         "user": "nobody",
-        "rejectedMessage": ""
+        "rejectedMessage": "",
+        "stateLog": [
+            {
+                "time": 1648741409145224000,
+                "applicationState": "Accepted"
+            },
+            {
+                "time": 1648741409145509400,
+                "applicationState": "Starting"
+            },
+            {
+                "time": 1648741409147432100,
+                "applicationState": "Running"
+            }
+        ]
     },
     {
         "applicationID": "application-0003",
@@ -616,7 +672,13 @@ In the example below there are three allocations belonging 
to two applications a
         "allocations": {},
         "applicationState": "Rejected",
         "user": "nobody",
-        "rejectedMessage": "failed to place application application-0003: 
application rejected: no placement rule matched"
+        "rejectedMessage": "failed to place application application-0003: 
application rejected: no placement rule matched",
+        "stateLog": [
+            {
+                "time": 1648741409145224000,
+                "applicationState": "Rejected"
+            }
+        ]
     }
 ]
 ```
@@ -1632,7 +1694,7 @@ Endpoint to retrieve the following information in a 
single response:
 
 **Content examples**
 
-The output of this REST query can be rather big and it is a combination of 
those which have already been demonstrated.
+The output of this REST query can be rather large and it is a combination of 
those which have already been demonstrated.
 
 ### Failure response
 

Reply via email to