I am trying to run the ray-cpp example( following the quick start here), however running into some gcs issues.
Local node IP: 10.17.63.60
Traceback (most recent call last):
File "/usr/local/bin/ray", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/ray/scripts/scripts.py", line 2498, in main
return cli()
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/ray/autoscaler/_private/cli_logger.py", line 856, in wrapper
return f(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/ray/scripts/scripts.py", line 772, in start
ray_params, head=True, shutdown_at_exit=block, spawn_reaper=block
File "/usr/local/lib/python3.7/dist-packages/ray/_private/node.py", line 307, in __init__
self.start_head_processes()
File "/usr/local/lib/python3.7/dist-packages/ray/_private/node.py", line 1404, in start_head_processes
assert self.get_gcs_client() is not None
File "/usr/local/lib/python3.7/dist-packages/ray/_private/node.py", line 676, in get_gcs_client
self._init_gcs_client()
File "/usr/local/lib/python3.7/dist-packages/ray/_private/node.py", line 722, in _init_gcs_client
f"Failed to {'start' if self.head else 'connect to'} GCS. "
RuntimeError: Failed to start GCS. Last 1 lines of error files:
[2024-06-11 20:51:01,530 C 1013665 1013665] (gcs_server) grpc_server.cc:119: Check failed: server_ Failed to start the grpc server. The specified port is 6379. This means that Ray's core components will not be able to function correctly. If the server startup error message is `Address already in use`, it indicates the server fails to start because the port is already used by other processes (such as --node-manager-port, --object-manager-port, --gcs-server-port, and ports between --min-worker-port, --max-worker-port). Try running sudo lsof -i :6379 to check if there are other processes listening to the port.```
I thought redis was no longer needed with ray however i see that the cpp api is still dependent on it https://github.com/ray-project/ray/blob/57ac69c2ed208c352d01f5ef1482ab76fb316fe8/cpp/src/ray/util/process_helper.cc#L31