Install Airflow, Docker (Mac only) and run a Postgres DAG in 5 mins

  Рет қаралды 7,859

TechTalkSourav

TechTalkSourav

Күн бұрын

Пікірлер: 19
@bijosn
@bijosn 9 ай бұрын
If anyone gets stuck with trying to install the awaa docker image then remove the old clone from local then install ubuntu wsl and start the clone again and proceed in ubuntu wsl
@souravtechie
@souravtechie 9 ай бұрын
I think your comment applies to Windows users. This video was recorded on a Mac so I did not face any issues. Thanks for sharing!
@MohsenFa-o2x
@MohsenFa-o2x Ай бұрын
where did you store the dag description file in a way that airflow can load it automatically?
@souravtechie
@souravtechie Ай бұрын
Hey! It's all in the dags folder. Any .py file in the dags folder will be automatically picked up by Airflow to render the DAGs
@tacilio5046
@tacilio5046 5 ай бұрын
how to enable test connection button in airflow connections ? Which file do I change? I have already changed airflow.cfg and the change does not reflect in the UI
@souravtechie
@souravtechie 5 ай бұрын
Hi @tacilio5046, thanks for your question! You seem to be on the right track on this one. Adding `test_connection = True` to the `[core]` section of airflow.cfg file should do it! Please make sure you prune all old images in Docker Desktop (run `docker builder prune --all` from terminal). And rebuild the container from scratch (run `./mwaa-local-env build-image` from terminal). And then run it. So that the new configuration change is actually applied to the Airflow image. Test connection is disabled by default in the latest MWAA versions. It used to be enabled by default at the time I made this video. That's the reason why I did not have to make this config change at the time of making the video. If you still need help, please feel free to message me on IG @techtalksourav Good luck!
@bijosn
@bijosn 9 ай бұрын
Hi, great video. may i ask which IDE you use and recommend?
@souravtechie
@souravtechie 9 ай бұрын
Thank you @bijosn! I use Pycharm. And recommend the same
@bijosn
@bijosn 9 ай бұрын
@@souravtechie thank you Sourav
@kofitelli6923
@kofitelli6923 3 ай бұрын
what are you using to view the log
@souravtechie
@souravtechie 3 ай бұрын
The task logs can be viewed from the UI. The web server logs are in the terminal console in PyCharm
@datalearningsihan
@datalearningsihan Жыл бұрын
How do you run two postgres server at the same time on the same port? AIrflow comes with a postgres and also you have already another postgres with the table you are working on. You didnt discuss those.
@souravtechie
@souravtechie Жыл бұрын
Hi @datalearningsihan Nice observation and thanks for the question. I'm not running 2 Postgres servers on the same port and machine. The Postgres DB that I ran queries against is hosted in AWS RDS. You are correct, I should have mentioned that in the video. If you pause here kzbin.info/www/bejne/fZ6xYpijespngNE, you can notice that the hostname ends in rds.amazonaws.com
@dheeraj_israni
@dheeraj_israni 4 ай бұрын
usename: admin password: test
@souravtechie
@souravtechie 4 ай бұрын
Spot on
@datalearningsihan
@datalearningsihan Жыл бұрын
It does not really work. I tried to use it, nothing works.
@souravtechie
@souravtechie Жыл бұрын
Hi! Sorry to hear that. What exactly did not work for you? Please elaborate and I would be more than happy to help you resolve the issue you're facing here
@luismisanmartin98
@luismisanmartin98 8 ай бұрын
How can you have such a massive microphone yet the sound is so bad? The background music isn't helpful either
@souravtechie
@souravtechie 5 ай бұрын
I stopped using that "massive microphone" now. It is a actually bad. I'm very new to content creation, and still learning. Thank you for your patience!
Running Airflow 2.0 with Docker in 5 mins
11:55
Data with Marc
Рет қаралды 171 М.
Mom had to stand up for the whole family!❤️😍😁
00:39
Это было очень близко...
00:10
Аришнев
Рет қаралды 7 МЛН
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 26 МЛН
ЗНАЛИ? ТОЛЬКО ОАЭ 🤫
00:13
Сам себе сушист
Рет қаралды 3,9 МЛН
Don't Use Apache Airflow
16:21
Bryan Cafferky
Рет қаралды 96 М.
Airflow for Beginners - Run Spotify ETL Job in 15 minutes!
16:38
Karolina Sowinska
Рет қаралды 143 М.
Install Apache Airflow for Windows PC
9:35
AmpCode
Рет қаралды 38 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 198 М.
Airflow for Beginners: Build Amazon books ETL Job in 10 mins
13:13
Sunjana in Data
Рет қаралды 15 М.
How to Run Airflow Locally without Docker!
5:14
The Data Guy
Рет қаралды 7 М.
Run a Postgres Database for Free in Google Cloud!
8:37
ScriptBytes
Рет қаралды 32 М.
Mom had to stand up for the whole family!❤️😍😁
00:39