Wilfred Spiegelenburg created YUNIKORN-1590:
-----------------------------------------------

             Summary: 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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to