[Java] rename config ray.redis.address to ray.address (#10772)

This commit is contained in:
Hao Chen
2020-09-15 11:13:19 +08:00
committed by GitHub
parent ea3e4d622e
commit 1a5cfe0b79
12 changed files with 20 additions and 20 deletions
@@ -76,7 +76,7 @@ class ClusterStarter {
}
// Connect to the cluster.
System.setProperty("ray.redis.address", "127.0.0.1:6379");
System.setProperty("ray.address", "127.0.0.1:6379");
System.setProperty("ray.object-store.socket-name", PLASMA_STORE_SOCKET_NAME);
System.setProperty("ray.raylet.socket-name", RAYLET_SOCKET_NAME);
System.setProperty("ray.raylet.node-manager-port", nodeManagerPort);
@@ -86,7 +86,7 @@ class ClusterStarter {
public static synchronized void stopCluster(boolean isCrossLanguage) {
// Disconnect to the cluster.
Ray.shutdown();
System.clearProperty("ray.redis.address");
System.clearProperty("ray.address");
System.clearProperty("ray.object-store.socket-name");
System.clearProperty("ray.raylet.socket-name");
System.clearProperty("ray.raylet.node-manager-port");
@@ -1,5 +1,5 @@
ray {
run-mode = SINGLE_PROCESS
resources = "CPU:4"
redis.address = ""
address = ""
}