You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Adam Antal (Jira)" <ji...@apache.org> on 2020/03/27 09:36:00 UTC

[jira] [Commented] (YUNIKORN-8) Pull application and container history from core

    [ https://issues.apache.org/jira/browse/YUNIKORN-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068479#comment-17068479 ] 

Adam Antal commented on YUNIKORN-8:
-----------------------------------

We've still got things to put in place in the backend side, but the API endpoints the payload is not going to change in that commit.

The API endpoints and some sample payloads:

- /ws/v1/history/apps
{code:json}
[
  {
    "timestamp": 1585238263802408000,
    "totalApplications": "0"
  },
  {
    "timestamp": 1585238323803183000,
    "totalApplications": "0"
  },
  {
    "timestamp": 1585238383803268000,
    "totalApplications": "1"
  }
]
{code}

- /ws/v1/history/containers
{code:json}
[
  {
    "timestamp": 1585238263802408000,
    "totalContainers": "0"
  },
  {
    "timestamp": 1585238323803183000,
    "totalContainers": "0"
  },
  {
    "timestamp":1585238383803268000,
    "totalContainers": "1"
  }
]
{code}

> Pull application and container history from core
> ------------------------------------------------
>
>                 Key: YUNIKORN-8
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-8
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: webapp
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Akhil PB
>            Priority: Blocker
>
> These current history pages are mocked in the web UI
> The data is available on the core side but not yet exposed via REST or any way. When the core exposes the data the web UI needs to who them correctly



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org