You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2023/03/03 01:28:00 UTC

[jira] [Resolved] (YUNIKORN-1590) REST interface always shows incorrect placeholder info

     [ https://issues.apache.org/jira/browse/YUNIKORN-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wilfred Spiegelenburg resolved YUNIKORN-1590.
---------------------------------------------
    Fix Version/s: 1.3.0
       Resolution: Fixed

> REST interface always shows incorrect placeholder info
> ------------------------------------------------------
>
>                 Key: YUNIKORN-1590
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1590
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: core - common
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.3.0
>
>
> Example from the dump:
> {code:java}
>           "allocationKey": "19bbe8c2-a698-4eec-9b5e-b53195176e15",
>           "allocationTags": {
>             "kubernetes.io/label/applicationId": "spark-d5841455758842c58b103923e4a81f83",
>             "kubernetes.io/label/placeholder": "true",
>             "kubernetes.io/label/queue": "root.default",
>             "kubernetes.io/meta/podName": "tg-spark-driver-spark-d5841455758842c58b1039-0"
>           },
>           "uuid": "9a6162dd-11fd-4b4e-9e52-560c1ec2c11a",
>           "resource": {
>             "memory": 7725907968,
>             "vcore": 2100
>           },
>           "priority": "0",
>           "applicationId": "spark-d5841455758842c58b103923e4a81f83",
>           "partition": "default",
>           "placeholder": false,
>           "placeholderUsed": false, 
>           "taskGroupName": ""
>         }{code}
> And the log for that pod shows:
> {code:java}
> 2023-02-14T04:39:53.668Z    INFO    scheduler/partition.go:923    scheduler allocation processed    {"appID": "spark-d5841455758842c58b103923e4a81f83", "allocationKey": "19bbe8c2-a698-4eec-9b5e-b53195176e15", "uuid": "9a6162dd-11fd-4b4e-9e52-560c1ec2c11a", "allocatedResource": "map[memory:7725907968 vcore:2100]", "placeholder": true, "targetNode": "aks"}
> ...
> 2023-02-14T04:39:53.669Z    INFO    client/kubeclient.go:84    bind pod to node    {"podName": "tg-spark-driver-spark-d5841455758842c58b1039-0", "podUID\": "19bbe8c2-a698-4eec-9b5e-b53195176e15", "nodeID": "aks-"} {code}
> The logs show a placeholder driver while the dump shows inconsistent info.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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