You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Pankaj Kumar (JIRA)" <ji...@apache.org> on 2015/08/24 05:04:45 UTC

[jira] [Created] (HBASE-14296) ConnectionManager should validate the table existence before returning the table instance

Pankaj Kumar created HBASE-14296:
------------------------------------

             Summary: 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: 2.0.0, 1.2.0, 0.98.15
            Reporter: Pankaj Kumar
            Assignee: 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
(v6.3.4#6332)