hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12995) Document that HConnection#getTable methods do not check table existence since 0.98.1
Date Tue, 03 Mar 2015 03:06:05 GMT

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

Hudson commented on HBASE-12995:
--------------------------------

SUCCESS: Integrated in HBase-1.0 #782 (See [https://builds.apache.org/job/HBase-1.0/782/])
HBASE-12995 Document that HConnection#getTable methods do not check table existence since
0.98.1 (apurtell: rev 2dcc920e5f51f96b494f303e71cd9d18690fa760)
* hbase-client/src/main/java/org/apache/hadoop/hbase/client/Connection.java


> Document that HConnection#getTable methods do not check table existence 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: Trivial
>             Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.11
>
>         Attachments: HBASE-12995-0.98.patch, HBASE-12995.patch
>
>
> [~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, if using the {{HConnection#getTable}} APIs, 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)

Mime
View raw message