Skip to content
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

FargateCluster hangs due to DescribeTaskDefinition requests #344

Closed
marclipoff-curative opened this issue Apr 27, 2022 · 4 comments
Closed
Labels
bug Something isn't working help wanted Extra attention is needed provider/aws/ecs Cluster provider for AWS ECS

Comments

@marclipoff-curative
Copy link

What happened: When I simply call cluster = FargateCluster(), the process hangs. This is due to dask making a DescribeTaskDefinition request for every registered task definition. And there are a lot in the account

What you expected to happen: I expect there to be a way to avoid this

Minimal Complete Verifiable Example:

from dask_cloudprovider.aws import FargateCluster
cluster = FargateCluster()

Anything else we need to know?:

Environment:

  • Dask version: 2022.4.0
  • Python version: 3.9.7
  • Operating System: mac
  • Install method (conda, pip, source): pip
Cluster Dump State:
@jacobtomlinson jacobtomlinson added bug Something isn't working help wanted Extra attention is needed provider/aws/ecs Cluster provider for AWS ECS labels Apr 27, 2022
@marclipoff-curative
Copy link
Author

@jacobtomlinson to you have a sense of when this will get picked up?

@jacobtomlinson
Copy link
Member

I don't. Do you have any interest in raising a PR?

@marclipoff-curative
Copy link
Author

I could certainly try. Browsing through the code, it's not immediately obvious to me where the DescribeTaskDefinition request is being made. Do you have any direction on that?

@marclipoff-curative
Copy link
Author

I've solved this issue by using skip_cleanup=True.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed provider/aws/ecs Cluster provider for AWS ECS
Projects
None yet
Development

No branches or pull requests

2 participants