[
https://issues.apache.org/jira/browse/AIRFLOW-4750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16859047#comment-16859047
]
ASF GitHub Bot commented on AIRFLOW-4750:
-----------------------------------------
chrismclennon commented on pull request #5389: [AIRFLOW-4750] Log identified
zombie task instances
URL: https://github.com/apache/airflow/pull/5389
Make sure you have checked _all_ steps below.
### Jira
- [x] My PR addresses the following [Airflow
Jira](https://issues.apache.org/jira/browse/AIRFLOW/) issues and references
them in the PR title. For example, "\[AIRFLOW-XXX\] My Airflow PR"
- [AIRFLOW-4750](https://issues.apache.org/jira/browse/AIRFLOW-4750)
### Description
While troubleshooting task instances that were unexpectedly killed I found
it helpful to confirm whether the task was identified as a zombie by printing
to log.
### Tests
- [x] My PR adds the following unit tests __OR__ does not need testing for
this extremely good reason:
- No unit test appears to be productive for printing to log.
### Commits
- [x] My commits all reference Jira issues in their subject lines, and I
have squashed multiple commits if they address the same issue. In addition, my
commits follow the guidelines from "[How to write a good git commit
message](http://chris.beams.io/posts/git-commit/)":
1. Subject is separated from body by a blank line
1. Subject is limited to 50 characters (not including Jira issue reference)
1. Subject does not end with a period
1. Subject uses the imperative mood ("add", not "adding")
1. Body wraps at 72 characters
1. Body explains "what" and "why", not "how"
### Documentation
- [x] In case of new functionality, my PR adds documentation that describes
how to use it.
- All the public functions and the classes in the PR contain docstrings
that explain what it does
- If you implement backwards incompatible changes, please leave a note in
the [Updating.md](https://github.com/apache/airflow/blob/master/UPDATING.md) so
we can assign it to a appropriate release
### Code Quality
- [x] Passes `flake8`
----------------------------------------------------------------
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]
> Add log to specify which zombie task instances are killed
> ---------------------------------------------------------
>
> Key: AIRFLOW-4750
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4750
> Project: Apache Airflow
> Issue Type: Improvement
> Components: scheduler
> Affects Versions: 1.10.3
> Reporter: Chris McLennon
> Assignee: Chris McLennon
> Priority: Minor
>
> While troubleshooting task instances that got killed I wanted to see if the
> task instance got killed by the process that finds zombies and added a log to
> print which task instances were identified as zombies. I think this will be
> useful to share.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)