Fix the issue about starting cross-lang cluster (#4176)

This commit is contained in:
Wang Qing 2019-02-27 20:11:58 +08:00 committed by Hao Chen
parent 5bfcfa8ec8
commit db5c3b22b7
2 changed files with 1 additions and 4 deletions

View file

@ -268,6 +268,7 @@ class Node(object):
redis_max_clients=self._ray_params.redis_max_clients,
redirect_worker_output=True,
password=self._ray_params.redis_password,
include_java=self._ray_params.include_java,
redis_max_memory=self._ray_params.redis_max_memory)
assert (
ray_constants.PROCESS_TYPE_REDIS_SERVER not in self.all_processes)

View file

@ -196,7 +196,3 @@ class RayParams(object):
if self.redirect_output is not None:
raise DeprecationWarning(
"The redirect_output argument is deprecated.")
if self.include_java is None and self.java_worker_options is not None:
raise ValueError("Should not specify `java-worker-options` "
"without providing `include-java`.")