dstandish commented on code in PR #40867:
URL: https://github.com/apache/airflow/pull/40867#discussion_r1683408716
##########
airflow/providers/amazon/aws/executors/batch/batch_executor.py:
##########
@@ -292,12 +292,13 @@ def attempt_submit_jobs(self):
if failure_reason:
if attempt_number >=
int(self.__class__.MAX_SUBMIT_JOB_ATTEMPTS):
- self.send_message_to_task_logs(
- logging.ERROR,
- "This job has been unsuccessfully attempted too many
times (%s). Dropping the task. Reason: %s",
- attempt_number,
- failure_reason,
- ti=key,
+ self.log_task_event(
+ record=Log(
+ event="executor queue failure",
Review Comment:
should this have the same `ecs task submit failure` as the other one? or
should these events have different names?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]