How severe does this issue affect your experience of using Ray?
- Medium: It contributes to significant difficulty to complete my task, but I can work around it.
I start the ray cluster by ray start --head
and submited several tasks in runing. How can I start dashboard?
All I gotten from document, I need to kill the cluster and restart with dashboard-port. But the tasks are still running, I can’t kill them now.
More info: I started the cluster when I’m not install ray[default]
, so there was no dashboard yet. But now I installed ray[default]
and want to start the dashboard, without restart the cluster(because there was lots of tasks in running).
Not sure if i follow. When you install Ray, you need to include the dashboard component: Ray Dashboard — Ray 2.32.0.
Then when you ray start --head
, ray dashboard should be started automatically.
The cluster is running, If I run ray start --head
again, I’ll get an error:
ConnectionError: Ray is trying to start at xxx:6379, but is already running at xxx:6379. Please specify a different port using the --port
flag of ray start
command.
Can u stop the cluster first, make sure u have the right ray installation, and try again?
There is no way to init dashboard without restart the cluster?
My tasks are running. I must wait for them.
As I said above, ray dashboard will be started automatically if you have the right ray installation. You don’t have to start it manually, whether the cluster is running or not.
So your question may be moot. If u have the wrong installation, you cannot start ray dashboard if u stop the cluster and start again.
You surely not understand my problem. please forget what i have said above, and here is my new question:
I installed ray[default], and start the ray, and I know the dashboard will be running when ray start --head
to start the cluster.
Then there is any way to stop the dashboard without stop the cluster? If I stop the dashboard, How can I restart the dashboard again?
As far as I know, there is no way to stop or restart dashboard separately while the cluster is running at the moment. Will let @Ruiyang_Wang confirm.
It might be very helpful if we can disable and restart the dashboard separately from the cluster (i.e. cluster with tasks in running) .
Can you elaborate why it is helpful to have this feature?
Sometimes, we start the cluster without dashboard, because of security or performance concern. But if there is any problem, we might be want to open the dashboard to look at the cluster and task.
There is a REP for export api. This, together with an offline dashboard server down the road might serve your needs. Feel free to file a gh request.