You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/30 14:30:16 UTC

[GitHub] [airflow] yuqian90 commented on a change in pull request #16167: Silences confusing log for long running tasks: "dependency 'Task Instance Not Running' FAILED: Task is in the running state"

yuqian90 commented on a change in pull request #16167:
URL: https://github.com/apache/airflow/pull/16167#discussion_r642084756



##########
File path: airflow/jobs/local_task_job.py
##########
@@ -95,7 +95,9 @@ def signal_handler(signum, frame):
             job_id=self.id,
             pool=self.pool,
         ):
-            self.log.info("Task is not able to be run")
+            if self.task_instance.state != State.RUNNING:
+                # Only log about this for non-running tasks.

Review comment:
       That's a good point. Done.




-- 
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:
users@infra.apache.org