[gRPC] Migrate raylet client implementation to grpc (#5120)

This commit is contained in:
Joey Jiang authored and Hao Chen committed 2019-07-25 14:48:56 +08:00
1 parent 60f59639c1
commit 40395acadf
53 files changed
+1698 -1156

No files matched your search

@@ -37,9 +37,9 @@ public class RayletClientImpl implements RayletClient {
private long client = 0;
// TODO(qwang): JobId parameter can be removed once we embed jobId in driverId.
public RayletClientImpl(String schedulerSockName, UniqueId clientId,
public RayletClientImpl(String schedulerSockName, UniqueId workerId,
boolean isWorker, JobId jobId) {
client = nativeInit(schedulerSockName, clientId.getBytes(),
client = nativeInit(schedulerSockName, workerId.getBytes(),
isWorker, jobId.getBytes());
}