Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 94C5410184 for ; Mon, 9 Feb 2015 18:01:36 +0000 (UTC) Received: (qmail 72983 invoked by uid 500); 9 Feb 2015 18:01:35 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 72863 invoked by uid 500); 9 Feb 2015 18:01:35 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 72644 invoked by uid 99); 9 Feb 2015 18:01:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2015 18:01:35 +0000 Date: Mon, 9 Feb 2015 18:01:35 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-12995) Document that HConnection#getTable methods do not throw TableNotFoundException since 0.98.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andrew Purtell created HBASE-12995: -------------------------------------- Summary: Document that HConnection#getTable methods do not throw TableNotFoundException since 0.98.1 Key: HBASE-12995 URL: https://issues.apache.org/jira/browse/HBASE-12995 Project: HBase Issue Type: Task Affects Versions: 0.98.1 Reporter: Andrew Purtell Assignee: Andrew Purtell Priority: Minor Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.11 [~jamestaylor] mentioned that recently Phoenix discovered at some point the {{HConnection#getTable}} "lightweight table reference" methods stopped throwing TableNotFoundExceptions. It used to be (in 0.94 and 0.96) that all APIs that construct HTables would check if the table is locatable and throw exceptions if not. Now, such exceptions will only be thrown at the time of the first operation submitted using the table reference, should a problem be detected then. We did a bisect and it seems this was changed in the 0.98.1 release by HBASE-10080. Since the change has now shipped in 10 in total 0.98 releases we should just document the change, in the javadoc of the HConnection class, Connection in branch-1+. -- This message was sent by Atlassian JIRA (v6.3.4#6332)