.setTajoWorkerHttpPort(httpPort)
.setTajoWorkerPullServerPort(pullServerPort)
.setServerStatus(serverStatus)
.build();
NettyClientBase tmClient = null;
try {
CallFuture<TajoMasterProtocol.TajoHeartbeatResponse> callBack =
new CallFuture<TajoMasterProtocol.TajoHeartbeatResponse>();
tmClient = connPool.getConnection(tajoMasterAddress, TajoMasterProtocol.class, true);
TajoMasterProtocol.TajoMasterProtocolService masterClientService = tmClient.getStub();
masterClientService.heartbeat(callBack.getController(), heartbeatProto, callBack);
TajoMasterProtocol.TajoHeartbeatResponse response = callBack.get(2, TimeUnit.SECONDS);
if(response != null) {
TajoMasterProtocol.ClusterResourceSummary clusterResourceSummary = response.getClusterResourceSummary();