mirror of
https://github.com/wassname/ray.git
synced 2026-08-19 12:30:27 +08:00
Change logfile names and also allow plasma store socket to be passed in. (#2862)
This commit is contained in:
committed by
Robert Nishihara
parent
9c606ea06c
commit
cc7e2ecdd5
@@ -8,6 +8,7 @@ import pytest
|
||||
import time
|
||||
|
||||
import ray
|
||||
import ray.tempfile_services
|
||||
import ray.ray_constants as ray_constants
|
||||
|
||||
|
||||
@@ -173,10 +174,10 @@ def ray_start_reconstruction(request):
|
||||
plasma_addresses = []
|
||||
objstore_memory = plasma_store_memory // num_local_schedulers
|
||||
for i in range(num_local_schedulers):
|
||||
store_stdout_file, store_stderr_file = ray.services.new_log_files(
|
||||
"plasma_store_{}".format(i), True)
|
||||
manager_stdout_file, manager_stderr_file = (ray.services.new_log_files(
|
||||
"plasma_manager_{}".format(i), True))
|
||||
store_stdout_file, store_stderr_file = (
|
||||
ray.tempfile_services.new_plasma_store_log_file(i, True))
|
||||
manager_stdout_file, manager_stderr_file = (
|
||||
ray.tempfile_services.new_plasma_manager_log_file(i, True))
|
||||
plasma_addresses.append(
|
||||
ray.services.start_plasma_store(
|
||||
node_ip_address,
|
||||
|
||||
Reference in New Issue
Block a user