Skip to content

Commit

Permalink
Change address.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Oct 8, 2020
1 parent 37f3562 commit c027a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-package/xgboost/dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,8 +608,8 @@ def _dmatrix_from_worker_map(is_quantile, **kwargs):

async def _get_rabit_args(worker_map, client: Client):
'''Get rabit context arguments from data distribution in DaskDMatrix.'''
host = distributed_comm.get_address_host(client.scheduler.address)
tracker_worker = [worker_map[0]]
host = distributed_comm.get_address_host(tracker_worker[0])
n_workers = len(worker_map)
envs = await client.submit(_start_tracker, host.strip('/:'),
n_workers, workers=tracker_worker)
Expand Down

0 comments on commit c027a37

Please sign in to comment.