Update documentation regarding UI and timeline. (#4189)

This commit is contained in:
Robert Nishihara
2019-03-01 19:54:33 -08:00
committed by Philipp Moritz
parent 962b17f567
commit f21e6a2cff
6 changed files with 21 additions and 252 deletions
+4 -3
View File
@@ -84,7 +84,6 @@ class Node(object):
self._plasma_store_socket_name = None
self._raylet_socket_name = None
self._webui_url = None
self._dashboard_url = None
else:
self._plasma_store_socket_name = (
ray_params.plasma_store_socket_name)
@@ -306,7 +305,7 @@ class Node(object):
def start_dashboard(self):
"""Start the dashboard."""
stdout_file, stderr_file = self.new_log_files("dashboard", True)
self._dashboard_url, process_info = ray.services.start_dashboard(
self._webui_url, process_info = ray.services.start_dashboard(
self.redis_address,
self._temp_dir,
stdout_file=stdout_file,
@@ -317,13 +316,15 @@ class Node(object):
self.all_processes[ray_constants.PROCESS_TYPE_DASHBOARD] = [
process_info
]
redis_client = self.create_redis_client()
redis_client.hmset("webui", {"url": self._webui_url})
def start_ui(self):
"""Start the web UI."""
stdout_file, stderr_file = self.new_log_files("webui")
notebook_name = self._make_inc_temp(
suffix=".ipynb", prefix="ray_ui", directory_name=self._temp_dir)
self._webui_url, process_info = ray.services.start_ui(
_, process_info = ray.services.start_ui(
self._redis_address,
notebook_name,
stdout_file=stdout_file,
-3
View File
@@ -1870,9 +1870,6 @@ def connect(info,
if hasattr(main, "__file__") else "INTERACTIVE MODE")
}
worker.redis_client.hmset(b"Drivers:" + worker.worker_id, driver_info)
if (not worker.redis_client.exists("webui")
and info["webui_url"] is not None):
worker.redis_client.hmset("webui", {"url": info["webui_url"]})
elif mode == WORKER_MODE:
# Register the worker with Redis.
worker_dict = {