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 2022/02/22 04:54:00 UTC

[jira] [Created] (YUNIKORN-1088) remove empty updates from nodes calls

Wilfred Spiegelenburg created YUNIKORN-1088:
-----------------------------------------------

             Summary: remove empty updates from nodes calls
                 Key: YUNIKORN-1088
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1088
             Project: Apache YuniKorn
          Issue Type: Improvement
          Components: shim - kubernetes
            Reporter: Wilfred Spiegelenburg


After YUNIKORN-906 we seem to have left some empty updates in the cache.node code in the shim that should be removed.
 * handleNodeRecovery
 * handleDrainNode
 * handleRestoreNode

An empty AllocationRequest (just the RmID) is created and send via the schedulerAPI as an UpdateAllocation to the core where it is ignored and thrown away as there is nothing to do.

We can remove these calls without side effects.

 

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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