DaskTaskRunner tasks occasionally fail with AttributeError: 'NoneType' object has no attribute 'address'
#17334
Labels
bug
Something isn't working
Bug summary
Tasks launched via a
DaskTaskRunner
randomly fail with the following exception:Minimum flow to reproduce this (somewhat reliably; executed on a local process workpool):
This seems like some kind of a race condition, because increasing the amount work each
task has to do (via
size
) makes it less and less likely to manifest.This appears to happen both when using both
LocalCluster
andDaskKubernetesOperator
ephemeral clusters.
Finally, a fairly straightforward workaround seems to be simly retrying the task when
that exception is encountered.
Version info
Additional context
Full flow run logs:
vengeful-wildcat.csv
The text was updated successfully, but these errors were encountered: