}
private void connectionToQueryMaster(QueryId queryId, String queryMasterHost, int queryMasterPort) {
try {
InetSocketAddress addr = NetUtils.createSocketAddr(queryMasterHost, queryMasterPort);
BlockingRpcClient client = new BlockingRpcClient(QueryMasterClientProtocol.class, addr);
QueryMasterClientProtocolService.BlockingInterface service = client.getStub();
queryMasterConnectionMap.put(queryId, service);
queryMasterClientMap.put(queryId, client);
LOG.info("Connected to Query Master (qid=" + queryId + ", addr=" + NetUtils.normalizeInetSocketAddress(addr)