Skip to content

Commit

Permalink
Avoid Ray port and just use 8087
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Nov 8, 2023
1 parent 59eb2d9 commit 3cd7750
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dask_databricks/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def run():

if DB_IS_DRIVER == "TRUE":
log.info("This node is the Dask scheduler.")
subprocess.Popen(["dask", "scheduler", "--dashboard-address", ":8787,:8265,:8087,:8001"])
subprocess.Popen(["dask", "scheduler", "--dashboard-address", ":8787,:8087"])
else:
log.info("This node is a Dask worker.")
log.info(f"Connecting to Dask scheduler at {DB_DRIVER_IP}:8786")
Expand Down
2 changes: 1 addition & 1 deletion dask_databricks/databrickscluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def dashboard_link(self):
raise RuntimeError("Unable to locate spark session. Are you running this on a Databricks driver node?")
cluster_id = spark.conf.get("spark.databricks.clusterUsageTags.clusterId")
org_id = spark.conf.get("spark.databricks.clusterUsageTags.orgId")
return f"https://dbc-dp-{org_id}.cloud.databricks.com/driver-proxy/o/{org_id}/{cluster_id}/8265/status"
return f"https://dbc-dp-{org_id}.cloud.databricks.com/driver-proxy/o/{org_id}/{cluster_id}/8087/status"


def get_client():
Expand Down

0 comments on commit 3cd7750

Please sign in to comment.