Github user hyunsik commented on a diff in the pull request:
https://github.com/apache/tajo/pull/559#discussion_r29414552
--- Diff:
tajo-core/src/main/java/org/apache/tajo/master/QueryInProgress.java ---
@@ -156,8 +161,15 @@ public boolean startQueryMaster() {
private void connectQueryMaster() throws Exception {
InetSocketAddress addr =
NetUtils.createSocketAddr(queryInfo.getQueryMasterHost(),
queryInfo.getQueryMasterPort());
LOG.info("Connect to QueryMaster:" + addr);
- queryMasterRpc =
- RpcClientManager.getInstance().getClient(addr,
QueryMasterProtocol.class, true);
+
+ /* A large scale cluster can be connection refused, if it reuse */
--- End diff --
It would be better if it should be changed to 'Connection can be refused in
large scale clusters if 'reuse' option is TRUE'.
In addition, this description should be also described in
```QUERY_MASTER_RPC_CLIENT_REUSE``` in TajoConf and user guide.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---