Fix password authentication in worker (#3124)

This commit is contained in:
Peter Schafhalter
2018-11-06 13:40:03 -08:00
committed by Robert Nishihara
parent 8356a01dd6
commit f3efcd2342
4 changed files with 26 additions and 4 deletions
+2
View File
@@ -1227,6 +1227,8 @@ def start_raylet_monitor(redis_address,
gcs_ip_address, gcs_port = redis_address.split(":")
redis_password = redis_password or ""
command = [RAYLET_MONITOR_EXECUTABLE, gcs_ip_address, gcs_port]
if redis_password:
command += [redis_password]
p = subprocess.Popen(command, stdout=stdout_file, stderr=stderr_file)
if cleanup:
all_processes[PROCESS_TYPE_MONITOR].append(p)