mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 21:38:18 +08:00
Java call Python actor method use actor.call (#7614)
This commit is contained in:
+1
-2
@@ -67,8 +67,7 @@ public class JobSchedulerImpl implements JobScheduler {
|
||||
case PYTHON:
|
||||
byte[] workerContextBytes = buildPythonWorkerContext(
|
||||
taskId, executionGraphPb, jobConfig);
|
||||
waits.add(Ray.callPy((RayPyActor) worker,
|
||||
"init", workerContextBytes));
|
||||
waits.add(((RayPyActor)worker).call("init", workerContextBytes));
|
||||
break;
|
||||
default:
|
||||
throw new UnsupportedOperationException(
|
||||
|
||||
Reference in New Issue
Block a user