You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tot_tries=task.retries+1msg="Attempt {} out of {}".format(self.try_number+1,
tot_tries)
self.try_number+=1
So every time the task gets loaded, the number of attempts is incremented. If the task is run an unexpected number of times, either due to prior failures or force runs, then this message becomes nonsensical. I think this is straightforward to fix by resetting self.try_number any time the task is run that ISN'T a retry.
The text was updated successfully, but these errors were encountered:
* Add parent job facet to rdd integration
Signed-off-by: Michael Collado <mike@datakin.com>
* Add if debugEnabled check before converting logical plan to json
Signed-off-by: Michael Collado <mike@datakin.com>
* Add test to cover JDBC relation writes and made fixes
Signed-off-by: Michael Collado <mike@datakin.com>
* Changed plan visitor to use optimized plan to avoid unresolved expressions in plan
Signed-off-by: Michael Collado <mike@datakin.com>
* Added test to cover INSERT OVERWRITE DIRECTORY case and added necessary support code
Signed-off-by: Michael Collado <mike@datakin.com>
* PR comments
Signed-off-by: Michael Collado <mike@datakin.com>
It's possible to get strange "Attempt 2 out of 1" status messages when Airflow forces a task to run after it's completed or previously run.
For example, this unit test in CoreTests prints such a message (https://github.com/airbnb/airflow/blob/aee3cacb1042dbdc26d9ba06d481c81948f418ec/tests/core.py#L467):
The "Attempt" message is built as
So every time the task gets loaded, the number of attempts is incremented. If the task is run an unexpected number of times, either due to prior failures or
force
runs, then this message becomes nonsensical. I think this is straightforward to fix by resetting self.try_number any time the task is run that ISN'T a retry.The text was updated successfully, but these errors were encountered: