Enable GCS Service by default (#7541)

This commit is contained in:
fangfengbin
2020-03-24 14:20:23 +08:00
committed by GitHub
parent b4030cdbbe
commit bf866de6fd
10 changed files with 24 additions and 15 deletions
@@ -226,7 +226,8 @@ public class RunManager {
}
// start gcs server
if (System.getenv("RAY_GCS_SERVICE_ENABLED") != null) {
if (System.getenv("RAY_GCS_SERVICE_ENABLED") == null ||
System.getenv("RAY_GCS_SERVICE_ENABLED") == "true") {
String redisPasswordOption = "";
if (!Strings.isNullOrEmpty(rayConfig.headRedisPassword)) {
redisPasswordOption = rayConfig.headRedisPassword;