forked from bellwether/minerva
dask worker logs now written to disk hopefully
This commit is contained in:
parent
239abf8fc1
commit
10bcd367f6
1 changed files with 2 additions and 2 deletions
|
|
@ -62,9 +62,9 @@ class Cluster:
|
||||||
|
|
||||||
# Start the dask processes necessary for cluster communication
|
# Start the dask processes necessary for cluster communication
|
||||||
def start_dask(self):
|
def start_dask(self):
|
||||||
self.scheduler.cmd("dask-scheduler", disown=True)
|
self.scheduler.cmd("dask scheduler 2&>1 > /tmp/scheduler.log", disown=True)
|
||||||
for w in self.workers:
|
for w in self.workers:
|
||||||
w.cmd(f"dask-worker {self.scheduler.private_ip}:8786", disown=True)
|
w.cmd(f"dask worker {self.private_location} 2&>1 > /tmp/worker.log", disown=True)
|
||||||
|
|
||||||
|
|
||||||
def terminate(self):
|
def terminate(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue