Fix crash for Java task's task.argument() in state. (#4063)

This commit is contained in:
Wang Qing
2019-02-19 12:46:07 +08:00
committed by Hao Chen
parent cfc7e2c5a9
commit 7574757391
3 changed files with 21 additions and 11 deletions
+1 -1
View File
@@ -1134,7 +1134,7 @@ def build_java_worker_command(
command += "-Dray.raylet.socket-name={} ".format(raylet_name)
if redis_password is not None:
command += ("-Dray.redis-password=%s", redis_password)
command += "-Dray.redis.password={} ".format(redis_password)
command += "-Dray.home={} ".format(RAY_HOME)
# TODO(suquark): We should use temp_dir as the input of a java worker.