tlw-ray opened a new issue #12234:
URL: https://github.com/apache/airflow/issues/12234


   **Apache Airflow version**: 1.10.12
   
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl 
version`): none
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**: 
   - **OS** (e.g. from /etc/os-release): 
       - NAME="CentOS Linux"
       - VERSION="7 (Core)"
       - ID="centos"
       - ID_LIKE="rhel fedora"
       - VERSION_ID="7"
       - PRETTY_NAME="CentOS Linux 7 (Core)"
   - **Kernel** (e.g. `uname -a`):Linux dev-dbmid-161 
3.10.0-957.10.1.el7.x86_64 #1 SMP Mon Mar 18 15:06:45 UTC 2019 x86_64 x86_64 
x86_64 GNU/Linux
   - **Install tools**: https://github.com/puckel/docker-airflow 
   - **Others**: Run by docker-compose, use CeleryExecutor, redis, postgres.
   
   **What happened**:
   
   Airflow runs for about a week and is scheduled once a day (DAG status is 
success, Task status is success). However, occasionally the DAG status is 
success, but the Tasks are no_status. That is to say, the DAG returns a 
successful status as soon as it is executed, but none of the tasks in it are 
running.
   
   <img width="755" alt="Airflow_20201110160955" 
src="https://raw.githubusercontent.com/tlw-ray/docker-airflow-mssql/master/image/Airflow_20201110160955.png";>
   
   <!-- (please include exact error messages if you can) -->
   
   **What you expected to happen**:
   
   Tasks in the two `DAGs` are in `no_status` and have not been executed. It is 
expected that these tasks should be executed and be in the state of `success` 
like other `DAG` execution results.
   
   <!-- What do you think went wrong? -->
   
   **How to reproduce it**:
   
   If the DAG is triggered, it can always be executed correctly, but 
occasionally this happens unexpectedly during scheduling.
   
   
   **Anything else we need to know**:
   
   my dag: 
   
   ~~~python
   dt = datetime.now() - timedelta(days=1)
   
   default_args = {
     'start_date': datetime(dt.year, dt.month, dt.day, 19),
   }
   
   dag = DAG(
       dag_id='DATA_FLOW',
       default_args=default_args,
       schedule_interval=timedelta(days=1),
   )
   ~~~


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to