DAGClientAMProtocolRPC.PreWarmRequestProto.Builder
preWarmReqProtoBuilder =
DAGClientAMProtocolRPC.PreWarmRequestProto.newBuilder();
preWarmReqProtoBuilder.setPreWarmContext(
DagTypeConverters.convertPreWarmContextToProto(context));
proxy.preWarm(null, preWarmReqProtoBuilder.build());
while (true) {
try {
Thread.sleep(1000);
TezSessionStatus status = getSessionStatus();
if (status.equals(TezSessionStatus.READY)) {