You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self = <Client: 'tcp://127.0.0.1:61644' processes=4 threads=4, memory=16.00 GiB>
futures = [<Future: cancelled, key: lambda-03566af00f50e1eaeaefe1cde41abeea>]
errors = 'raise', direct = False, local_worker = None
asyncdef_gather(self, futures, errors="raise", direct=None, local_worker=None):
unpacked, future_set = unpack_remotedata(futures, byte_keys=True)
mismatched_futures = [f for f in future_set if f.client isnotself]
if mismatched_futures:
raiseValueError(
"Cannot gather Futures created by another client. "f"These are the {len(mismatched_futures)} (out of {len(futures)}) "f"mismatched Futures and their client IDs (this client is {self.id}): "f"{ {f: f.client.id for f in mismatched_futures} }"# noqa: E201, E202
)
keys = [future.key for future in future_set]
bad_data =dict()
data = {}
if direct isNone:
direct =self.direct_to_workers
if direct isNone:
try:
w = get_worker()
exceptException:
direct =Falseelse:
if w.scheduler.address ==self.scheduler.address:
direct =Trueasyncdefwait(k):
"""Want to stop the All(...) early if we find an error"""try:
st =self.futures[k]
exceptKeyError:
raise AllExit()
else:
await st.wait()
if st.status !="finished"and errors =="raise":
raise AllExit()
whileTrue:
logger.debug("Waiting on futures to clear before gather")
with suppress(AllExit):
await distributed.utils.All(
[wait(key) for key in keys if key inself.futures],
quiet_exceptions=AllExit,
)
failed = ("error", "cancelled")
exceptions =set()
bad_keys =set()
for key in keys:
if key notinself.futures orself.futures[key].status in failed:
exceptions.add(key)
if errors =="raise":
try:
st =self.futures[key]
exception = st.exception
traceback = st.traceback
except (KeyError, AttributeError):
exc = CancelledError(key)
else:
raise exception.with_traceback(traceback)
> raise exc
E concurrent.futures._base.CancelledError: lambda-03566af00f50e1eaeaefe1cde41abeea
C:\Miniconda3\envs\modin\lib\site-packages\distributed\client.py:2233: CancelledError
Modin version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest released version of Modin.
I have confirmed this bug exists on the main branch of Modin. (In order to do this you can follow this guide.)
Reproducible Example
Issue Description
See #6972 for details.
Expected Behavior
Do not fail.
Error Logs
Installed Versions
23c1ec0
The text was updated successfully, but these errors were encountered: