dstandish commented on code in PR #40867:
URL: https://github.com/apache/airflow/pull/40867#discussion_r1683336784
##########
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:
it's a failure to queue though right? or perhaps submit is better?
--
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]