hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r800176 - in /hadoop/hbase/branches/0.20: CHANGES.txt src/java/org/apache/hadoop/hbase/thrift/ThriftServer.java
Date Mon, 03 Aug 2009 00:25:19 GMT
Author: stack
Date: Mon Aug  3 00:25:19 2009
New Revision: 800176

URL: http://svn.apache.org/viewvc?rev=800176&view=rev
Log:
Reversed HBASE-1723 getRowWithColumnsTs changed behavior

Modified:
    hadoop/hbase/branches/0.20/CHANGES.txt
    hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/thrift/ThriftServer.java

Modified: hadoop/hbase/branches/0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/CHANGES.txt?rev=800176&r1=800175&r2=800176&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.20/CHANGES.txt Mon Aug  3 00:25:19 2009
@@ -306,7 +306,6 @@
                go into .META. but catalog scanner just got old values (redux)
    HBASE-1534  Got ZooKeeper event, state: Disconnected on HRS and then NPE
                on reinit
-   HBASE-1723  getRowWithColumnsTs changed behavior (Mathias Lehman via Stack)
    HBASE-1725  Old TableMap interface's definitions are not generic enough
                (Doğacan Güney via Stack)
    HBASE-1732  Flag to disable regionserver restart

Modified: hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/thrift/ThriftServer.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/thrift/ThriftServer.java?rev=800176&r1=800175&r2=800176&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/thrift/ThriftServer.java (original)
+++ hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/thrift/ThriftServer.java Mon
Aug  3 00:25:19 2009
@@ -341,7 +341,7 @@
         HTable table = getTable(tableName);
         if (columns == null) {
           Get get = new Get(row);
-          get.setTimeStamp(timestamp);
+          get.setTimeRange(Long.MIN_VALUE, timestamp);
           Result result = table.get(get);
           return ThriftUtilities.rowResultFromHBase(result.getRowResult());
         }
@@ -355,7 +355,7 @@
               get.addColumn(famAndQf[0], famAndQf[1]);
           }
         }
-        get.setTimeStamp(timestamp);
+        get.setTimeRange(Long.MIN_VALUE, timestamp);
         Result result = table.get(get);
         return ThriftUtilities.rowResultFromHBase(result.getRowResult());
       } catch (IOException e) {



Mime
View raw message