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
{{ message }}
Repository navigation
dask-worker timeout should exit with non-zero status code? #2781
Working on dask-kubernetes, I noticed that my pods were succeeding, when they were timing out trying to connect to a scheduler.
In this example, I don't have a scheduler running at this address
bash-5.0$ dask-worker 192.168.7.26:8786 --death-timeout=1
2019-06-18 14:24:19,779 distributed.nanny[41007] INFO Start Nanny at: 'tcp://192.168.7.20:64424'
2019-06-18 14:24:20,790 distributed.nanny[41007] INFO Closing Nanny at 'tcp://192.168.7.20:64424'
2019-06-18 14:24:21,330 distributed.worker[41030] INFO Start worker at: tcp://192.168.7.20:64425
2019-06-18 14:24:21,331 distributed.worker[41030] INFO Listening to: tcp://192.168.7.20:64425
2019-06-18 14:24:21,331 distributed.worker[41030] INFO dashboard at: 192.168.7.20:64426
2019-06-18 14:24:21,332 distributed.worker[41030] INFO Waiting to connect to: tcp://192.168.7.26:8786
2019-06-18 14:24:21,332 distributed.worker[41030] INFO -------------------------------------------------
2019-06-18 14:24:21,333 distributed.worker[41030] INFO Threads: 8
2019-06-18 14:24:21,333 distributed.worker[41030] INFO Memory: 17.18 GB
2019-06-18 14:24:21,334 distributed.worker[41030] INFO Local Directory: /Users/taugspurger/worker-a2hgbeb6
2019-06-18 14:24:21,334 distributed.worker[41030] INFO -------------------------------------------------
2019-06-18 14:24:21,335 distributed.worker[41030] INFO Stopping worker at tcp://192.168.7.20:64425
2019-06-18 14:24:21,379 distributed.dask_worker[41007] INFO End worker
bash-5.0$ echo $?
0
Would changing that to be non-zero break anything else?
On Tue, Jun 18, 2019 at 9:25 PM Tom Augspurger ***@***.***> wrote:
Working on dask-kubernetes, I noticed that my pods were succeeding, when
they were timing out trying to connect to a scheduler.
bash-5.0$ dask-worker 192.168.7.26:8786 --death-timeout=1
2019-06-18 14:24:19,779 distributed.nanny[41007] INFO Start Nanny at: 'tcp://192.168.7.20:64424'
2019-06-18 14:24:20,790 distributed.nanny[41007] INFO Closing Nanny at 'tcp://192.168.7.20:64424'
2019-06-18 14:24:21,330 distributed.worker[41030] INFO Start worker at: tcp://192.168.7.20:64425
2019-06-18 14:24:21,331 distributed.worker[41030] INFO Listening to: tcp://192.168.7.20:64425
2019-06-18 14:24:21,331 distributed.worker[41030] INFO dashboard at: 192.168.7.20:64426
2019-06-18 14:24:21,332 distributed.worker[41030] INFO Waiting to connect to: tcp://192.168.7.26:8786
2019-06-18 14:24:21,332 distributed.worker[41030] INFO -------------------------------------------------
2019-06-18 14:24:21,333 distributed.worker[41030] INFO Threads: 8
2019-06-18 14:24:21,333 distributed.worker[41030] INFO Memory: 17.18 GB
2019-06-18 14:24:21,334 distributed.worker[41030] INFO Local Directory: /Users/taugspurger/worker-a2hgbeb6
2019-06-18 14:24:21,334 distributed.worker[41030] INFO -------------------------------------------------
2019-06-18 14:24:21,335 distributed.worker[41030] INFO Stopping worker at tcp://192.168.7.20:64425
2019-06-18 14:24:21,379 distributed.dask_worker[41007] INFO End worker
bash-5.0$ echo $?
0
Would changing that to be non-zero break anything else/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2781?email_source=notifications&email_token=AACKZTEIJX6BIJBZKKUVYF3P3EZBVA5CNFSM4HZDED3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2HIGYA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACKZTEMME3KP7AQJKTARV3P3EZBVANCNFSM4HZDED3A>
.
Activity
mrocklin commentedon Jun 18, 2019
TomAugspurger commentedon Jun 18, 2019
OK, I'll put up a PR soon.
Raise when workers initialization times out
Raise when workers initialization times out (#2784)