Open crusaderky opened 2 years ago
The treatment of numeric worker names is inconsistent:
Client.retire_workers(names=[...])
1
"1"
Client.submit(..., workers=[...])
Client.scatter(..., workers=[...])
Client.replicate(..., workers=[...])
(note: scatter/replicate to specific workers are pending discussion and redesign within the scope of the Active Memory Manager)
xref:
@mrocklin in #2949 you mentioned support for CLIs. Were you referring to any specific CLI? Is the feature still desirable? CC @gjoseph92
FWIW had run into similar issues in PR ( https://github.com/dask/distributed/pull/4296 ). Not that that PR should motivate any changes at this point, but the discussion may be interesting
The treatment of numeric worker names is inconsistent:
Client.retire_workers(names=[...])
maps worker names to strings, so a worker may be called1
and you can pass"1"
to the method, or vice versaClient.submit(..., workers=[...])
does not do the mapping;1
and"1"
are differentClient.scatter(..., workers=[...])
does not do the mapping eitherClient.replicate(..., workers=[...])
silently fails when passing string names and crashes when passing numeric names(note: scatter/replicate to specific workers are pending discussion and redesign within the scope of the Active Memory Manager)
xref:
2949
@mrocklin in #2949 you mentioned support for CLIs. Were you referring to any specific CLI? Is the feature still desirable? CC @gjoseph92