[
https://issues.apache.org/jira/browse/TAJO-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14496178#comment-14496178
]
ASF GitHub Bot commented on TAJO-1409:
--------------------------------------
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)?
> Clients calling remote services returning BoolProto ignores false values
> ------------------------------------------------------------------------
>
> Key: TAJO-1409
> URL: https://issues.apache.org/jira/browse/TAJO-1409
> Project: Tajo
> Issue Type: Improvement
> Components: rpc
> Reporter: Navis
> Assignee: Navis
>
> Some services like QueryMasterProtocolService returns false sometimes. But
> clients are just ignoring them.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)