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/06/09 06:31:00 UTC

[jira] [Resolved] (YUNIKORN-1217) Ensure that Spark driver pod is processed before executor pods during recovery

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

Wilfred Spiegelenburg resolved YUNIKORN-1217.
---------------------------------------------
    Resolution: Fixed

pod sorting is implemented.

I ran a couple of simple checks to see how long the sorting of a random set of generated pods would take: 100000 pods took less than a second to sort. The overall recovery time will not be impacted by this new sorting.

Thank you [~pbacsko] for the contribution

> Ensure that Spark driver pod is processed before executor pods during recovery
> ------------------------------------------------------------------------------
>
>                 Key: YUNIKORN-1217
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1217
>             Project: Apache YuniKorn
>          Issue Type: Sub-task
>          Components: shim - kubernetes
>            Reporter: Peter Bacsko
>            Assignee: Peter Bacsko
>            Priority: Major
>              Labels: pull-request-available
>
> When running a Spark workload with gang scheduling, the driver and executor pods have different annotations.
> It is critical that we process the driver first, because it has the task group definitions. Based on [https://yunikorn.apache.org/docs/next/user_guide/gang_scheduling/,] the executor only needs {{{}yunikorn.apache.org/taskGroupName{}}}.
> So when we add the pods in the recovery code path, we have to start with the driver.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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