Run Airflow 2.0 via Docker | Minimal Setup | Apache airflow for beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2024

ความคิดเห็น • 32

  • @maxcoteclearning
    @maxcoteclearning  ปีที่แล้ว +2

    if your're stucked in docker-compose up airflow-init mysql-not-healthy. try changing the healthcheck script of mysql service as described here github.com/maxcotec/Apache-Airflow/issues/2#issuecomment-1321010233

  • @Vicer_Exciser
    @Vicer_Exciser 6 หลายเดือนก่อน

    The Visual Studio cursor animations when you indent and remove code are awesome lol never seen that before

  • @kundansingh-dx9wy
    @kundansingh-dx9wy 2 ปีที่แล้ว

    Love this bro keep it up

  • @Gniewus111
    @Gniewus111 2 ปีที่แล้ว

    Great video ! Keep it up ! :)

  • @fsyrhiz
    @fsyrhiz 3 ปีที่แล้ว +1

    gracias!

  • @essakhan1575
    @essakhan1575 3 ปีที่แล้ว +1

    Airflow is overwhelming. Thanks for the tutorial though.

    • @maxcoteclearning
      @maxcoteclearning  3 ปีที่แล้ว

      Glad you like it :). Thanks for your support.

  • @MNRCRTZ
    @MNRCRTZ ปีที่แล้ว

    Thank you!!! Can i create a alert to tell when a specific DAG is paused?

    • @maxcoteclearning
      @maxcoteclearning  ปีที่แล้ว

      I don't believe there is any callback for this in airflow. check here
      airflow.apache.org/docs/apache-airflow/2.2.1/logging-monitoring/callbacks.html

  • @kundansingh-dx9wy
    @kundansingh-dx9wy 2 ปีที่แล้ว

    Can you please tell how to setup this with celery executer ... And how to run that

  • @MooJin
    @MooJin 2 ปีที่แล้ว +1

    Sir, do we have to install Airflow first before installing Docker? I'm currently using windows 10

    • @maxcoteclearning
      @maxcoteclearning  2 ปีที่แล้ว

      Install Docker first. then run given docker-compose which spins up airflow scheduler and webserver.

    • @MooJin
      @MooJin 2 ปีที่แล้ว

      @@maxcoteclearning So after I install docker, I don't need to install airflow?

    • @maxcoteclearning
      @maxcoteclearning  2 ปีที่แล้ว +1

      @@MooJin You don't need any installation for airflow. docker-compose.yaml runs airflow. Please follow this video on how to :).

    • @MooJin
      @MooJin 2 ปีที่แล้ว

      @@maxcoteclearning Thank you sir!

  • @kanchidoshi6907
    @kanchidoshi6907 2 ปีที่แล้ว

    After installing Docker on windows machine, what tool I need to open to run the commands? Command prompt, putty or PowerShell?

    • @maxcoteclearning
      @maxcoteclearning  2 ปีที่แล้ว

      You can use simple windows command prompt.

  • @nghianguyen9439
    @nghianguyen9439 3 ปีที่แล้ว +1

    Can you help me to know how to install a Python package into the docker on Windows? I am working with dags on airflow and I need to use the pymongo library.

    • @maxcoteclearning
      @maxcoteclearning  3 ปีที่แล้ว

      You can create another Dockerfile that inherits from base airflow image, and add additional py packages, and use this custom image. Part of this will be covered in next video, where I'll show how you easily deploy, manage and version control dags in production environment.

    • @nghianguyen9439
      @nghianguyen9439 3 ปีที่แล้ว

      @@maxcoteclearning Thank you so much. Looking foward to your next videos. I am having a problem with the adding additonal py packages. I have just worked with Py and Docker for few days.😅

  • @alex45688
    @alex45688 ปีที่แล้ว

    I have installed the docker now how to run on comand propmt not able to understand , I am on windows software

    • @maxcoteclearning
      @maxcoteclearning  ปีที่แล้ว

      after installing, it should run on command prompt by just typing `docker`. If not, please follow some good related guide on internet. e.g. this;
      www.simplilearn.com/tutorials/docker-tutorial/install-docker-on-windows

  • @riyasingh2515
    @riyasingh2515 2 ปีที่แล้ว

    my task are getting failed in airflow UI can u tell why it is happening, so I copied all your code properly

    • @maxcoteclearning
      @maxcoteclearning  2 ปีที่แล้ว

      Hi Riya, could you explain more about the failure? Any logs?

  • @diniomar3965
    @diniomar3965 2 ปีที่แล้ว

    This a good video however i would not suggest that it is for beginners.

  • @chillpillgamer4980
    @chillpillgamer4980 2 ปีที่แล้ว +2

    unhealthy container problems

    • @maxcoteclearning
      @maxcoteclearning  2 ปีที่แล้ว

      Could you explain more on this error plz ?
      Could be docker memory problem. Before running docker-compose, make sure you have enough memory allocated to Docker Host machine. read more about this at maxcotec.com/blog/apache-airflow-2-docker-beginners-guide/

    • @maxcoteclearning
      @maxcoteclearning  ปีที่แล้ว

      Someone raised a related issue, plz check my suggested solution here github.com/maxcotec/Apache-Airflow/issues/2#issuecomment-1321010233

    • @pankajsuryavanshi8332
      @pankajsuryavanshi8332 ปีที่แล้ว

      Video Quality is not good record it again

    • @maxcoteclearning
      @maxcoteclearning  ปีที่แล้ว

      @@pankajsuryavanshi8332 its recorded in 4k resolution. Plz switch the video resolution from settings>Quality

  • @vaibhavverma1340
    @vaibhavverma1340 ปีที่แล้ว

    PS C:\Users\verma\airflow> docker compose up airflow-init
    error during connect: this error may indicate that the docker daemon is not running: Get "%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.project%3Dairflow%22%3Atrue%7D%7D": open //./pipe/docker_engine: The system cannot find the file specified.
    Any thoughts?