From the course: Learning Apache Airflow
Unlock this course with a free trial
Join today to access over 24,200 courses taught by industry experts.
Creating your first DAG - Apache Airflow Tutorial
From the course: Learning Apache Airflow
Creating your first DAG
- [Instructor] In this demo, we are going to be creating and executing our very first Airflow DAG. Now, but before we do that, you have to admit that the Airflow UI with all of those example DAGs in there is kind of cluttered and hard to work with. Let's fix that. Here I am on the terminal where I have my web server running. I'm going to kill the web server, as well as the scheduler so that I can change something in the Airflow configuration file. So my web server has been killed. I'm going to head over to the terminal window where I have the scheduler running. I'm going to go ahead and kill the scheduler as well. Now, both the scheduler and the web server are down. So let's head over to our airflow.cfg file, and within here, notice that we have load_examples set to True by default. Now I'm going to set load_examples to False. This is a configuration property within the core section. Setting this to False will turn…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.