Comments (4)
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
from airflow.
The documented pattern for running Airflow in Docker can be found in the Airflow guide Running Airflow in Docker. The docker compose file is a bit more extensive than the one you've shared.
Can you try following that guide? You can run everything in detached mode with docker compose up -d
.
from airflow.
Thanks Ryan. I've worked around this issue by starting the scheduler last. I'm actually using AWS ECS and only made the compose file to debug the issue. I thought I would submit a bug as it did waste a couple hours of my time... and I thought it was time I try and get more involved with an open source project. Again: thanks for your help.
from airflow.
Run Airflow services in daemon it is useful only on case if there is not possible for some reason to use external daemons (e.g. systemd) or containers.
In case of containers it's best practice to separate areas of concern by using one service per container.
It is much easier to maintain and restart due to the failure, e.g. if webserver goes down you don't have to restarts scheduler and vice versa.
I'm actually using AWS ECS and only made the compose file to debug the issue.
Even if you use cloud based container service the principal pretty the same, 1 service = 1 task.
from airflow.
Related Issues (20)
- Status of testing of Apache Airflow 2.9.3rc1 HOT 12
- Using the @task.external_python() to call a task in a venv fails due to attempting to import airflow and other packages not in the external venv HOT 2
- Exception when using session object in CustomPriorityWeightPlugin
- Dependent DAG Based schedules HOT 3
- S3KeySensor - soft_fail | operator is skipped if missing connection or creds HOT 2
- DatabricksRunNowOperator failing as named parameters Jinja templating not getting resolved HOT 10
- AWS SNS Sensor HOT 3
- OpenLineage: Add AirflowRunFacet to DAG run events HOT 1
- Support named mapping for task group HOT 4
- Remove StatsD and replace it with Open Telemetry as first-class citizen HOT 4
- Setting podAnnotations for workers also adds them to other deployments such as scheduler HOT 7
- Hardcoded zooKeeperNamespace in URL doesn't allow to use custom name for zooKeeperNamespace HOT 5
- CDXGen latest caues error when generating SBOM HOT 4
- Add links to example dags in use params section HOT 3
- Airflow Doesn't Register Changes to Codebase or Connections HOT 1
- List Tasks API Call Fails When Airflow DAG is Missing `start_date` param HOT 5
- Adding BigQuery job state before Marking the state as success in Airflow HOT 1
- Add a check in BigQueryInsertJobOperator to verify the Job state before marking it as success in Airflow HOT 2
- Support DEBUG logging by component HOT 1
- Task with "wait_for_downstream" doesn't wait, because start_date is mishandled HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airflow.