Skip to content

Commit

Permalink
fix(ingestion/airflow-plugin): fixed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dushayntAW committed Jun 5, 2024
1 parent d28caac commit cbd249e
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions metadata-ingestion/developing.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,21 @@ airflow webserver --port 8090 -d
airflow scheduler

# access the airflow service and run any of the DAG
open http://localhost:8090/
select any DAG and click on the `play arrow` button to start the DAG
# open http://localhost:8090/
# select any DAG and click on the `play arrow` button to start the DAG

# add the debug lines in the codebase, i.e. in ./src/datahub_airflow_plugin/datahub_listener.py
logger.debug("this is the sample debug line")

# run the DAG again and you can see the debug lines in the task_run log at,
1. click on the `timestamp` in the `Last Run` column
2. select the task
3. click on the `log` option

P.S. if you are not able to see the log lines, then restart the `airflow scheduler` and rerun the DAG
#1. click on the `timestamp` in the `Last Run` column
#2. select the task
#3. click on the `log` option
```


> **P.S. if you are not able to see the log lines, then restart the `airflow scheduler` and rerun the DAG**
### (Optional) Set up your Python environment for developing on Dagster Plugin

From the repository root:
Expand Down

0 comments on commit cbd249e

Please sign in to comment.