mirror of
https://github.com/vale981/ray
synced 2025-03-06 18:41:40 -05:00
Fix the issue about starting cross-lang cluster (#4176)
This commit is contained in:
parent
5bfcfa8ec8
commit
db5c3b22b7
2 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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`.")
|
||||
|
|
Loading…
Add table
Reference in a new issue