Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove leftover mesos reference in generic hooks #35232

Merged
merged 1 commit into from
Oct 28, 2023

Conversation

jscheffl
Copy link
Contributor

As a follow-up of #33051 where I realized that some "mesos" leftovers are in the code, this is a cleanup-PR, It removes the generic connection in Airflow core that provides a "Mesos Framework ID".

I crawled through the code back into history of Airflow 1.10 to find where it comes from. In Airflow 1.10 there was formerly a mesos executor supported which all had been treated as legacy and was removed when going to Airflow 2.0. Just a generic connection hook was left. Also I could not find any traces somewhere in code or documentation where it is still used. But as no mesos executor exists anymore and even the Spark provider only uses a direct URL as parameters this is really a leftover.
As it is not providing any benefit and preventing that somebody in the future need to crawl into history, I propose to remove it. It is not breaking because if somebody really is still using it, it will fall-back in the UI to "generic" and technically is still usable.

@potiuk potiuk merged commit 8ea094f into apache:main Oct 28, 2023
44 checks passed
@ephraimbuddy ephraimbuddy modified the milestone: Airflow 2.7.3 Oct 29, 2023
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants