Github user navis commented on the pull request:
https://github.com/apache/tajo/pull/430#issuecomment-93400842
@jinossy I have a question.
````
NettyClientBase client = getQueryMasterConnection();
try {
QueryMasterProtocol.QueryMasterProtocolService.Interface stub =
client.getStub();
stub.doneExecutionBlock(null, reporter, NullCallback.get());
} finally {
connPool.releaseConnection(client);
}
````
thread calling stub.doneExecutionBlock() is exiting when it ends flushing
packet to wire. Is it possible connPool.releaseConnection(client) to close the
connection prematurely? Should we release connection when callback is called
(with whatever from server)?
---
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.
---