You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Aditya Vishwakarma (Jira)" <ji...@apache.org> on 2019/10/18 13:56:00 UTC

[jira] [Created] (AIRFLOW-5690) Task heartbeat is being reported as a warning

Aditya Vishwakarma created AIRFLOW-5690:
-------------------------------------------

             Summary: Task heartbeat is being reported as a warning
                 Key: AIRFLOW-5690
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5690
             Project: Apache Airflow
          Issue Type: Bug
          Components: worker
    Affects Versions: 2.0.0, 1.10.6
            Reporter: Aditya Vishwakarma


This bug is on the master branch and v1-10-stable.

All my workers have logs like this occurring every `{{JOB_HEARTBEAT_SEC}}` seconds. It is overloading my logging system.

{{{{`\{{local_task_job.py:124}} WARNING [1 - MainThread] - Time since last heartbeat(0.02 s) < heartrate(10.0 s), sleeping for 9.983787 s`}}}}

I think this is a case of mistaken log level. It should probably be a debug, or even a trace log level.

https://github.com/adityav/airflow/blob/master/airflow/jobs/local_task_job.py#L118{{}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)