hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r799976 - /hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/thrift/ThriftServer.java
Date Sun, 02 Aug 2009 03:15:08 GMT
Author: stack
Date: Sun Aug  2 03:15:08 2009
New Revision: 799976

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

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

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=799976&r1=799975&r2=799976&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 Sun
Aug  2 03:15:08 2009
@@ -341,7 +341,7 @@
         HTable table = getTable(tableName);
         if (columns == null) {
           Get get = new Get(row);
-          get.setTimeRange(Long.MIN_VALUE, timestamp);
+          get.setTimeStamp(timestamp);
           Result result = table.get(get);
           return ThriftUtilities.rowResultFromHBase(result.getRowResult());
         }
@@ -355,7 +355,7 @@
               get.addColumn(famAndQf[0], famAndQf[1]);
           }
         }
-        get.setTimeRange(Long.MIN_VALUE, timestamp);
+        get.setTimeStamp(timestamp);
         Result result = table.get(get);
         return ThriftUtilities.rowResultFromHBase(result.getRowResult());
       } catch (IOException e) {



Mime
View raw message