hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndimi...@apache.org
Subject svn commit: r1577631 - in /hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client: HTableFactory.java HTablePool.java
Date Fri, 14 Mar 2014 18:03:56 GMT
Author: ndimiduk
Date: Fri Mar 14 18:03:55 2014
New Revision: 1577631

URL: http://svn.apache.org/r1577631
Log:
HBASE-10741 Deprecate HTablePool and HTableFactory

Modified:
    hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTableFactory.java
    hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java

Modified: hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTableFactory.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTableFactory.java?rev=1577631&r1=1577630&r2=1577631&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTableFactory.java
(original)
+++ hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTableFactory.java
Fri Mar 14 18:03:55 2014
@@ -27,10 +27,11 @@ import java.io.IOException;
 /**
  * Factory for creating HTable instances.
  *
- * @since 0.21.0
+ * @deprecated as of 0.98.1. See {@link HConnectionManager#createConnection(Configuration)}.
  */
 @InterfaceAudience.Public
 @InterfaceStability.Stable
+@Deprecated
 public class HTableFactory implements HTableInterfaceFactory {
   @Override
   public HTableInterface createHTableInterface(Configuration config,

Modified: hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java?rev=1577631&r1=1577630&r2=1577631&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
(original)
+++ hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
Fri Mar 14 18:03:55 2014
@@ -60,9 +60,10 @@ import com.google.protobuf.ServiceExcept
  * <p>
  * Pool will manage its own connections to the cluster. See
  * {@link HConnectionManager}.
- * @deprecated Use {@link HConnection#getTable(String)} instead.
+ * @deprecated as of 0.98.1. See {@link HConnection#getTable(String)}.
  */
 @InterfaceAudience.Private
+@Deprecated
 public class HTablePool implements Closeable {
   private final PoolMap<String, HTableInterface> tables;
   private final int maxSize;



Mime
View raw message