Sanjay Hallan created AIRFLOW-4077:
--------------------------------------
Summary: Using gevent worker class, breaks reading remote log from
s3
Key: AIRFLOW-4077
URL: https://issues.apache.org/jira/browse/AIRFLOW-4077
Project: Apache Airflow
Issue Type: Bug
Components: logging, webapp, worker
Affects Versions: 1.10.2
Environment: Local - Ubuntu
Production - AWS Elastic Beanstalk
Reporter: Sanjay Hallan
We have been writing our airflow logs to S3 for quite sometime now
successfully, using the worker class 'sync' which is the default. Viewing logs
via the airflow UI works perfectly, in the sense that logs of read from the
remote s3 location.
When switching the worker class to gevent, the airflow UI no longer attempts to
read the logs from the remote s3 location, rather it always attempts to read
the logs from the file and as we are using a containerized environment read log
files in this was fails.
Switching the worker class back to sync, and leaving all other configuration
untouched resolves this issue.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)