Repository navigation
Add warning if creating scratch directories takes a long time - #2561
Merged
Merged
Conversation
This adds a context manager `warn_on_duration` which warns if an action takes a surprisingly long time. We then use the context manager when creating a worker's local directory. Fixes rapidsai/dask-cuda#11 See also dask/dask-jobqueue#193
guillaumeeb
reviewed
Mar 15, 2019
guillaumeeb
left a comment
Member
There was a problem hiding this comment.
Looks good!
Except apparently there are more things in the warning record than you thought:
> assert len(record) == 1
E assert 5 == 1
E -5
E +1
darindf
pushed a commit
to darindf/distributed
that referenced
this pull request
Apr 11, 2019
) This adds a context manager `warn_on_duration` which warns if an action takes a surprisingly long time. We then use the context manager when creating a worker's local directory. Fixes rapidsai/dask-cuda#11 See also dask/dask-jobqueue#193
muammar
added a commit
to muammar/distributed
that referenced
this pull request
Apr 12, 2019
* upstream/master: Add RabbitMQ SchedulerPlugin example (dask#2604) add resources to scheduler update_graph plugin (dask#2603) Use ensure_bytes in serialize_error (dask#2588) Specify data storage explicitly from Worker constructor (dask#2600) Change bokeh port keywords to dashboard_address (dask#2589) .detach_() pytorch tensor to serialize data as numpy array. (dask#2586) Add warning if creating scratch directories takes a long time (dask#2561) Fix typo in pub-sub doc. (dask#2599) Allow return_when='FIRST_COMPLETED' in wait (dask#2598) Forward kwargs through Nanny to Worker (dask#2596)
|
Hi, so one can try to use local_dir argument to LocalCluster(local_dir=...) with a directory directly on the machines harddrive? |
Member
Author
|
Yes
…On Tue, Jul 23, 2019 at 5:38 AM lkugler ***@***.***> wrote:
Hi, so one can try to use local_dir argument to
LocalCluster(local_dir=...) with a directory directly on the machines
harddrive?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#2561?email_source=notifications&email_token=AACKZTAUVBBWQG6MZRM36NLQA33T5A5CNFSM4G5NDLF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2S7CCY#issuecomment-514191627>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACKZTCGEYPRUAOX4SALFW3QA33T5ANCNFSM4G5NDLFQ>
.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a context manager
warn_on_durationwhich warns if an actiontakes a surprisingly long time.
We then use the context manager when creating a worker's local
directory.
Fixes rapidsai/dask-cuda#11
See also dask/dask-jobqueue#193