[Core] Support GCS server port assignment. (#8962)

This commit is contained in:
SangBin Cho
2020-07-14 09:49:56 -07:00
committed by GitHub
parent f6eb47fc1f
commit 539c51a003
5 changed files with 31 additions and 10 deletions
+2 -1
View File
@@ -630,7 +630,8 @@ class Node:
stderr_file=stderr_file,
redis_password=self._ray_params.redis_password,
config=self._config,
fate_share=self.kernel_fate_share)
fate_share=self.kernel_fate_share,
gcs_server_port=self._ray_params.gcs_server_port)
assert (
ray_constants.PROCESS_TYPE_GCS_SERVER not in self.all_processes)
self.all_processes[ray_constants.PROCESS_TYPE_GCS_SERVER] = [