Skip to content

Commit

Permalink
error message updated
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Tomlinson <[email protected]>
  • Loading branch information
benrutter and jacobtomlinson authored May 27, 2024
1 parent e90ceee commit e397479
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dask_databricks/databrickscluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ def __init__(
)
if os.getenv("MASTER") and "local[" in os.getenv("MASTER"):
raise EnvironmentError(
"You appear to be running dask-databricks on a "
"single-node cluster. Dask requires at least one worker node "
"in order to function as expected."
"You appear to be trying to run a multi-node Dask cluster on a single-node Databricks cluster. "
"Maybe you want `dask.distributed.LocalCluster().get_client()` instead."

)
try:
Expand Down

0 comments on commit e397479

Please sign in to comment.