forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CherryPick] [Core] Fix ray start command output (ray-project#34081) (r…
…ay-project#34273) With ray-project#32409, we stopped printing out information like dashboard url when creating a single node ray cluster on OSX and windows. This is a regression and this PR reverts back to the old behavior. Signed-off-by: Jiajun Yao <[email protected]>
- Loading branch information
Showing
8 changed files
with
94 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
python/ray/tests/test_cli_patterns/test_ray_start_localhost.txt
This file was deleted.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
python/ray/tests/test_cli_patterns/test_ray_start_windows_osx.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Usage stats collection is enabled by default without user confirmation because this terminal is detected to be non-interactive\..+ | ||
|
||
Local node IP: .+ | ||
|
||
-------------------- | ||
Ray runtime started. | ||
-------------------- | ||
|
||
Next steps | ||
To add another node to this Ray cluster, run | ||
RAY_ENABLE_WINDOWS_OR_OSX_CLUSTER=1 ray start --address='.+' | ||
|
||
To connect to this Ray cluster: | ||
import ray | ||
ray\.init\(\) | ||
|
||
To submit a Ray job using the Ray Jobs CLI: | ||
RAY_ADDRESS='http://.+:8265' ray job submit --working-dir \. -- python my_script\.py | ||
|
||
See https://docs\.ray\.io/en/latest/cluster/running-applications/job-submission/index\.html | ||
for more information on submitting Ray jobs to the Ray cluster. | ||
|
||
To terminate the Ray runtime, run | ||
ray stop | ||
|
||
To view the status of the cluster, use | ||
ray status | ||
|
||
To monitor and debug Ray, view the dashboard at | ||
127.0.0.1:8265 | ||
|
||
If connection to the dashboard fails, check your firewall settings and network configuration. |