You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "CHIA-PING TSAI (JIRA)" <ji...@apache.org> on 2017/03/04 22:40:45 UTC

[jira] [Created] (HBASE-17735) The usage of getTable() is different between AsyncConnection and Connection

CHIA-PING TSAI created HBASE-17735:
--------------------------------------

             Summary: The usage of getTable() is different between AsyncConnection and Connection
                 Key: HBASE-17735
                 URL: https://issues.apache.org/jira/browse/HBASE-17735
             Project: HBase
          Issue Type: Wish
            Reporter: CHIA-PING TSAI
            Priority: Minor


I'm employing the AsyncConnection to rewrite our application. I find the AsyncConnection#getTable() and Connection#getTable() have some "slightly" differences.
# Connection#getTable() throws IOException;
# AsyncConnection#getTable() requires the pool;
# AsyncTable doesn't need to be closed

It may confuse the developers if they have no time to trace the source code (smile). May be we can unify them?

Any suggestion is welcomed



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)