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

This commit is contained in:
Joey Jiang
2019-07-25 14:48:56 +08:00
committed by Hao Chen
parent 60f59639c1
commit 40395acadf
53 changed files with 1698 additions and 1156 deletions
@@ -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());
}