Repository: hbase
Updated Branches:
  refs/heads/0.98 d97169070 -> 309e124a5
  refs/heads/branch-1 c4acac561 -> d4200ab39
  refs/heads/branch-1.0 bd8544f66 -> 2dcc920e5
  refs/heads/master 74e36f8dd -> 0c63eeb51


HBASE-12995 Document that HConnection#getTable methods do not check table 
existence since 0.98.1


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b57dbba3
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b57dbba3
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b57dbba3

Branch: refs/heads/0.98
Commit: b57dbba3178c6ed98359ad9d3b15d3556c911801
Parents: d971690
Author: Andrew Purtell <apurt...@apache.org>
Authored: Mon Mar 2 16:58:33 2015 -0800
Committer: Andrew Purtell <apurt...@apache.org>
Committed: Mon Mar 2 16:58:33 2015 -0800

----------------------------------------------------------------------
 .../apache/hadoop/hbase/client/HConnection.java | 24 ++++++++++++++++++++
 1 file changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/b57dbba3/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnection.java
----------------------------------------------------------------------
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnection.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnection.java
index 3aabc26..e267c50 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnection.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnection.java
@@ -81,6 +81,10 @@ public interface HConnection extends Abortable, Closeable {
    * is neither required nor desired.
    * Note that the HConnection needs to be unmanaged
    * (created with {@link HConnectionManager#createConnection(Configuration)}).
+   * <p>
+   * Since 0.98.1 this method no longer checks table existence. An exception
+   * will be thrown if the table does not exist only when the first operation 
is
+   * attempted.
    * @param tableName
    * @return an HTable to use for interactions with this table
    */
@@ -94,6 +98,10 @@ public interface HConnection extends Abortable, Closeable {
    * is neither required nor desired.
    * Note that the HConnection needs to be unmanaged
    * (created with {@link HConnectionManager#createConnection(Configuration)}).
+   * <p>
+   * Since 0.98.1 this method no longer checks table existence. An exception
+   * will be thrown if the table does not exist only when the first operation 
is
+   * attempted.
    * @param tableName
    * @return an HTable to use for interactions with this table
    */
@@ -107,6 +115,10 @@ public interface HConnection extends Abortable, Closeable {
    * is neither required nor desired.
    * Note that the HConnection needs to be unmanaged
    * (created with {@link HConnectionManager#createConnection(Configuration)}).
+   * <p>
+   * Since 0.98.1 this method no longer checks table existence. An exception
+   * will be thrown if the table does not exist only when the first operation 
is
+   * attempted.
    * @param tableName
    * @return an HTable to use for interactions with this table
    */
@@ -120,6 +132,10 @@ public interface HConnection extends Abortable, Closeable {
    * is neither required nor desired.
    * Note that the HConnection needs to be unmanaged
    * (created with {@link HConnectionManager#createConnection(Configuration)}).
+   * <p>
+   * Since 0.98.1 this method no longer checks table existence. An exception
+   * will be thrown if the table does not exist only when the first operation 
is
+   * attempted.
    * @param tableName
    * @param pool The thread pool to use for batch operations, null to use a 
default pool.
    * @return an HTable to use for interactions with this table
@@ -134,6 +150,10 @@ public interface HConnection extends Abortable, Closeable {
    * is neither required nor desired.
    * Note that the HConnection needs to be unmanaged
    * (created with {@link HConnectionManager#createConnection(Configuration)}).
+   * <p>
+   * Since 0.98.1 this method no longer checks table existence. An exception
+   * will be thrown if the table does not exist only when the first operation 
is
+   * attempted.
    * @param tableName
    * @param pool The thread pool to use for batch operations, null to use a 
default pool.
    * @return an HTable to use for interactions with this table
@@ -148,6 +168,10 @@ public interface HConnection extends Abortable, Closeable {
    * is neither required nor desired.
    * Note that the HConnection needs to be unmanaged
    * (created with {@link HConnectionManager#createConnection(Configuration)}).
+   * <p>
+   * Since 0.98.1 this method no longer checks table existence. An exception
+   * will be thrown if the table does not exist only when the first operation 
is
+   * attempted.
    * @param tableName
    * @param pool The thread pool to use for batch operations, null to use a 
default pool.
    * @return an HTable to use for interactions with this table

Reply via email to