mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 11:53:32 +08:00
Fix the issue about starting cross-lang cluster (#4176)
This commit is contained in:
@@ -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`.")
|
||||
|
||||
Reference in New Issue
Block a user