Skip to content

openmetadata_managed_apis uses deprecated Airflow class #12190

@arroadie

Description

@arroadie

Affected module
Ingestion

Describe the bug
WIth the change added here, the SchedulerJob class was renamed to SchedulerJobRunner. That change breaks the interaction between openmetadata and airflow in version 2.6 (haven't pinpointed the exact version)

To Reproduce

Fresh installation of airflow running tag 2.6.2 with the latest plugin version added will result in the following

image

Expected behavior
The plugin should reference the proper class or in it's effect limit the compatibility to the latest version in which the SchedulerJob class is available.

Version:

  • OS: docker on macos (apache/airflow:2.6.2)
  • Python version: Python 3.7.17
  • OpenMetadata version: [e.g. 0.8]
    openmetadata-airflow-managed-apis 0.11.5.3
    openmetadata-managed-apis 1.0.5.0
  • OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ] openmetadata-ingestion 0.11.5.3

Additional context
I'm using my own docker compose setup, so it's using a previously set version of airflow (2.6.2) instead of the baked in setup provided by openmetadata

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions