-
Notifications
You must be signed in to change notification settings - Fork 14.5k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: Can't pickle local object 'DaskExecutor.execute_async.<locals>.airflow_run' #11451
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
i modify the description and follow the template. wish your replay |
I got similar error when I upgraded to 2.0.0
|
use 2.0.0, after changed the code as @lafrinte proposed, got below error.
|
Same issue |
I had the same issue and this fixed it for me: uqfoundation/dill#383 (comment)
|
Could also just pass check_call directly to submit without needing to define the extra function. This works in a plugin I have defined.
|
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Apache Airflow version: 1.10.12
Kubernetes version (if you are using kubernetes) (use
kubectl version
):Environment:
What happened:
DaskExecutor will raise
ValueError: Cell is empty
error when scheduling task. no dag can be scheduled. debug list below:How to reproduce it:
keep argument
executor
equal toDaskExecutor
. startup servicesdask-scheduler/dask-worker/airflow webserver/airflow scheduler
and trigger any example dag in website.Anything else we need to know:
it seems that the exception raised when picker serialize the
airflow_run
method defined inairflow.executor.dask_executor.DaskExecutor.execute_async
picker seem not enable dumps a function defined in function. so, i change the code and scheduler work well:
The text was updated successfully, but these errors were encountered: