Skip to content

Conversation

@milenkovicm
Copy link
Contributor

Which issue does this PR close?

Closes #1174.

Rationale for this change

Rest api reports correct number of registered executors in case of TaskSchedulingPolicy::PullStaged

What changes are included in this PR?

In case TaskSchedulingPolicy::PullStaged is configured, executor registration is slightly different and no heartbeat are sent from executor to client. rest api method returning executors will call method which will first call heartbeats status and then consult registered executor list. This change will revert that order.

As heartbeat is not available there is no information about when is executor last seen, so rest api will return None in that case. This behaviour can be changed, we can add additional field in ExecutorMetadata indicating when was the last time executor called scheduler.

Are there any user-facing changes?

No

@andygrove andygrove merged commit e71847c into apache:main Feb 10, 2025
24 checks passed
@milenkovicm milenkovicm deleted the chore_pull_stage_cleanup branch March 19, 2025 13:54
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

Successfully merging this pull request may close these issues.

/api/executors does not show executors if TaskSchedulingPolicy::PullStaged

2 participants