diff --git a/doc/source/install-on-macosx.rst b/doc/source/install-on-macosx.rst index 712521680..04148850b 100644 --- a/doc/source/install-on-macosx.rst +++ b/doc/source/install-on-macosx.rst @@ -47,30 +47,3 @@ that you've cloned the git repository. .. code-block:: bash python test/runtest.py - - -Optional - web UI ------------------ - -Ray's web UI requires **Python 3**. To enable the web UI to work, install these -Python packages. - -.. code-block:: bash - - pip install aioredis asyncio websockets - -Then install `Polymer`_, which also requires `Node.js`_ and `Bower`_. - -.. _`Polymer`: https://www.polymer-project.org/1.0/docs/tools/polymer-cli -.. _`Node.js`: https://nodejs.org/en/download/ -.. _`Bower`: http://bower.io/#install-bower - -Once you've installed Polymer, run the following. - -.. code-block:: bash - - cd ray/webui - bower install - -Then while Ray is running, you should be able to view the web UI at -``http://localhost:8080``. diff --git a/doc/source/install-on-ubuntu.rst b/doc/source/install-on-ubuntu.rst index ae90ad241..3d1e63d0e 100644 --- a/doc/source/install-on-ubuntu.rst +++ b/doc/source/install-on-ubuntu.rst @@ -52,30 +52,3 @@ that you've cloned the git repository. .. code-block:: bash python test/runtest.py - - -Optional - web UI ------------------ - -Ray's web UI requires **Python 3**. To enable the web UI to work, install these -Python packages. - -.. code-block:: bash - - pip install aioredis asyncio websockets - -Then install `Polymer`_, which also requires `Node.js`_ and `Bower`_. - -.. _`Polymer`: https://www.polymer-project.org/1.0/docs/tools/polymer-cli -.. _`Node.js`: https://nodejs.org/en/download/ -.. _`Bower`: http://bower.io/#install-bower - -Once you've installed Polymer, run the following. - -.. code-block:: bash - - cd ray/webui - bower install - -Then while Ray is running, you should be able to view the web UI at -``http://localhost:8080``. diff --git a/doc/source/using-ray-on-a-cluster.md b/doc/source/using-ray-on-a-cluster.md index 1d7df96f9..6c401f725 100644 --- a/doc/source/using-ray-on-a-cluster.md +++ b/doc/source/using-ray-on-a-cluster.md @@ -70,29 +70,3 @@ ray.get([f.remote(f.remote(f.remote(0))) for _ in range(1000)]) When you want to stop the Ray processes, run `./ray/scripts/stop_ray.sh` on each node. - -### Using the Web UI on a Cluster - -If you followed the instructions for setting up the web UI, then -`./ray/scripts/start_ray.sh --head` will attempt to start a Python 3 webserver -on the head node. In order to view the web UI from a machine that is not part of -the cluster (like your laptop), you can use SSH port forwarding. The web UI -requires ports 8080 and 8888, which you can forward using a command like the -following. - -``` -ssh -L 8080:localhost:8080 -L 8888:localhost:8888 ubuntu@ -``` - -Then you can view the web UI on your laptop by navigating to -`http://localhost:8080` in a browser. - -#### Troubleshooting the Web UI - -Note that to use the web UI, additional setup is required. In particular, you -must be using Python 3 or you must at least have `python3` on your path. - -If the web UI doesn't work, it's possible that the web UI processes were never -started (check `ps aux | grep polymer` and `ps aux | grep ray_ui.py`). If they -were started, see if you can fetch the web UI from within the head node (try -`wget http://localhost:8080` on the head node). diff --git a/python/ray/services.py b/python/ray/services.py index dac0a85f3..0ac9e6935 100644 --- a/python/ray/services.py +++ b/python/ray/services.py @@ -1054,7 +1054,7 @@ def start_ray_head(address_info=None, include_global_scheduler=True, include_log_monitor=True, include_redis=True, - include_webui=True, + include_webui=False, start_workers_from_local_scheduler=start_workers_from_local_scheduler, num_cpus=num_cpus, num_gpus=num_gpus)