Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Application State Summary in /v1/partitions API in UHS #407

Open
sudiptob2 opened this issue Jan 22, 2025 · 0 comments
Open

Missing Application State Summary in /v1/partitions API in UHS #407

sudiptob2 opened this issue Jan 22, 2025 · 0 comments

Comments

@sudiptob2
Copy link
Collaborator

The /v1/partitions API in Yunikorn-Core includes a summary of application states used for dashboard graphs. This information is missing in the UHS /v1/partitions API. As a result graph shown in the dashboard is incorrect in the UI served by UHS.

Example from Yunikorn-Core /v1/partitions response:

[
    {
        "id": "01JJ7NW1035Q4K9QR6XCQW510B",
        "clusterId": "mycluster",
        "name": "default",
        "capacity": { ... },
        "nodeSortingPolicy": { ... },
        "totalNodes": 1,
        "applications": {
            "Accepted": 44,
            "Running": 7,
            "total": 51
        },
        "totalContainers": 7,
        "state": "Active",
        "lastStateTransitionTime": 1737572092036846796
    }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant