hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bryanduxb...@apache.org
Subject svn commit: r638150 - in /hadoop/hbase/trunk: CHANGES.txt src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Date Tue, 18 Mar 2008 00:13:25 GMT
Author: bryanduxbury
Date: Mon Mar 17 17:13:23 2008
New Revision: 638150

URL: http://svn.apache.org/viewvc?rev=638150&view=rev
Log:
HBASE-525 HTable.getRow(Text) does not work
-Fixed broken set initialization in HRegionServer

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=638150&r1=638149&r2=638150&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Mon Mar 17 17:13:23 2008
@@ -44,6 +44,7 @@
                startcode of -1 in .META.
    HBASE-516   HStoreFile.finalKey does not update the final key if it is not
                the top region of a split region
+   HBASE-525   HTable.getRow(Text) does not work (Clint Morgan via Bryan Duxbury)
    
   IMPROVEMENTS
    HBASE-415   Rewrite leases to use DelayedBlockingQueue instead of polling

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java?rev=638150&r1=638149&r2=638150&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java Mon
Mar 17 17:13:23 2008
@@ -965,8 +965,9 @@
     requestCount.incrementAndGet();
     try {
       // convert the columns array into a set so it's easy to check later.
-      Set<Text> columnSet = new HashSet<Text>();
+      Set<Text> columnSet = null;
       if (columns != null) {
+        columnSet = new HashSet<Text>();
         columnSet.addAll(Arrays.asList(columns));
       }
       



Mime
View raw message