hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r676031 - in /hadoop/hbase/trunk: CHANGES.txt src/java/org/apache/hadoop/hbase/client/HTable.java
Date Fri, 11 Jul 2008 17:24:39 GMT
Author: stack
Date: Fri Jul 11 10:24:39 2008
New Revision: 676031

URL: http://svn.apache.org/viewvc?rev=676031&view=rev
Log:
HBASE-742 Rename getMetainfo in HTable as getTableDescriptor

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=676031&r1=676030&r2=676031&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Fri Jul 11 10:24:39 2008
@@ -178,6 +178,8 @@
    HBASE-734   scan '.META.', {LIMIT => 10} crashes (Izaak Rubin via Stack)
    HBASE-736   Should have HTable.deleteAll(String row) and HTable.deleteAll(Text row)
                (Jean-Daniel Cryans via Stack)
+   HBASE-740   ThriftServer getting table names incorrectly (Tim Sell via Stack)
+   HBASE-742   Rename getMetainfo in HTable as getTableDescriptor
 
   IMPROVEMENTS
    HBASE-559   MR example job to count table rows
@@ -280,7 +282,6 @@
                (Jean-Daniel Cryans via Stack)
    HBASE-730   On startup, rinse STARTCODE and SERVER from .META.
                (Jean-Daniel Cryans via Stack)
-   HBASE-740   ThriftServer getting table names incorrectly (Tim Sell via Stack)
 
   NEW FEATURES
    HBASE-47    Option to set TTL for columns in hbase

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java?rev=676031&r1=676030&r2=676031&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java Fri Jul 11 10:24:39
2008
@@ -233,9 +233,16 @@
    * @return table metadata 
    * @throws IOException
    */
-  // Why is this deprecated?  What should be used instead? St.Ack
   @Deprecated
   public HTableDescriptor getMetadata() throws IOException {
+    return getTableDescriptor();
+  }
+
+  /**
+   * @return table metadata 
+   * @throws IOException
+   */
+  public HTableDescriptor getTableDescriptor() throws IOException {
     return this.connection.getHTableDescriptor(this.tableName);
   }
 



Mime
View raw message