handsome-football-66174
02/02/2023, 3:38 PMFile "/root/.venvs/airflow/lib/python3.7/site-packages/airflow/lineage/__init__.py", line 103, in apply_lineage
_backend = get_backend()
File "/root/.venvs/airflow/lib/python3.7/site-packages/airflow/lineage/__init__.py", line 52, in get_backend
clazz = conf.getimport("lineage", "backend", fallback=None)
File "/root/.venvs/airflow/lib/python3.7/site-packages/airflow/configuration.py", line 675, in getimport
f'The object could not be loaded. Please check "{key}" key in "{section}" section. '
airflow.exceptions.AirflowConfigException: The object could not be loaded. Please check "backend" key in "lineage" section. Current value: "datahub_provider.lineage.datahub.DatahubLineageBackend".
We are using the following configurations :
[lineage]
backend = datahub_provider.lineage.datahub.DatahubLineageBackend
datahub_kwargs = {
"enabled": true,
"datahub_conn_id": "datahub_rest_default",
"cluster": "prod",
"capture_ownership_info": true,
"capture_tags_info": true,
"graceful_exceptions": true }bulky-electrician-72362
02/02/2023, 6:21 PMhandsome-football-66174
02/02/2023, 9:07 PMhandsome-football-66174
02/03/2023, 2:33 PMhandsome-football-66174
02/08/2023, 4:30 PM[core]
lazy_load_plugins = False
But this effects other Jobs, which require them to restart Airflow each time there is a new script that needs to be used.