Remove the '--include-java' option (#10594)

This commit is contained in:
Kai Yang
2020-09-09 17:01:17 +08:00
committed by GitHub
parent ccf27a9ad2
commit afa0216280
17 changed files with 40 additions and 69 deletions
-4
View File
@@ -178,8 +178,6 @@ class Node:
else:
self._webui_url = (
ray.services.get_webui_url_from_redis(redis_client))
ray_params.include_java = (
ray.services.include_java_from_redis(redis_client))
if head or not connect_only:
# We need to start a local raylet.
@@ -577,7 +575,6 @@ class Node:
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,
fate_share=self.kernel_fate_share)
assert (
ray_constants.PROCESS_TYPE_REDIS_SERVER not in self.all_processes)
@@ -728,7 +725,6 @@ class Node:
stdout_file=stdout_file,
stderr_file=stderr_file,
config=self._config,
include_java=self._ray_params.include_java,
java_worker_options=self._ray_params.java_worker_options,
load_code_from_local=self._ray_params.load_code_from_local,
huge_pages=self._ray_params.huge_pages,