hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10637) rpcClient: Setup the iostream when doing the write
Date Mon, 03 Mar 2014 18:17:26 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918352#comment-13918352

Devaraj Das commented on HBASE-10637:

[~nkeywal], quick question - if the tcp connection is shared between the threads, why do the
setup in the thread at all? Is it because by the time the thread gets scheduled the connection
might have closed, etc.?

> rpcClient: Setup the iostream when doing the write
> --------------------------------------------------
>                 Key: HBASE-10637
>                 URL: https://issues.apache.org/jira/browse/HBASE-10637
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.99.0
>            Reporter: Nicolas Liochon
>            Assignee: Nicolas Liochon
>             Fix For: 0.99.0, hbase-10070
>         Attachments: 10637.v1.patch
> Since HBASE-10525, we can write in a different thread than the client. This allows the
client thread to be interrupted w/o any impact on the shared tcp connection. We should setup
the iostream on the second thread as well, i.e. when we do the write, and not when we do the

This message was sent by Atlassian JIRA

View raw message