[
https://issues.apache.org/jira/browse/HBASE-15278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15150006#comment-15150006
]
Heng Chen commented on HBASE-15278:
-----------------------------------
{code}
ch.closeFuture().addListener(new GenericFutureListener<ChannelFuture>() {
@Override
public void operationComplete(ChannelFuture future) throws Exception {
close(null);
}
});
{code}
What is the purpose of this code?
btw. It seems you mix some HBASE-15212 code into this patch
(testRpcMaxRequestSize?)
> AsyncRPCClient hangs if Connection closes before RPC call response
> -------------------------------------------------------------------
>
> Key: HBASE-15278
> URL: https://issues.apache.org/jira/browse/HBASE-15278
> Project: HBase
> Issue Type: Bug
> Reporter: Enis Soztutar
> Priority: Blocker
> Fix For: 2.0.0
>
> Attachments: hbase-15278_v00.patch
>
>
> The test for HBASE-15212 discovered an issue with Async RPC Client.
> In that test, we are closing the connection if an RPC call writes a call
> larger than max allowed size, the server closes the connection. However the
> async client does not seem to handle connection closes with outstanding RPC
> calls. The client just hangs.
> Marking this blocker against 2.0 since it is default there.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)