You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/07/01 21:08:00 UTC
[jira] [Closed] (HBASE-14296) ConnectionManager should validate the table existence before returning the table instance
[ https://issues.apache.org/jira/browse/HBASE-14296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell closed HBASE-14296.
---------------------------------------
> ConnectionManager should validate the table existence before returning the table instance
> -----------------------------------------------------------------------------------------
>
> Key: HBASE-14296
> URL: https://issues.apache.org/jira/browse/HBASE-14296
> Project: HBase
> Issue Type: Bug
> Components: Client
> Affects Versions: 1.2.0, 0.98.15, 2.0.0
> Reporter: Pankaj Kumar
> Priority: Minor
>
> Table instance should be returned only when table exist.
> {code}
> public HTableInterface getTable(TableName tableName, ExecutorService pool) throws IOException {
> if (managed) {
> throw new NeedUnmanagedConnectionException();
> }
> return new HTable(tableName, this, tableConfig, rpcCallerFactory, rpcControllerFactory, pool);
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)