hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r733393 - in /hadoop/hbase/trunk: CHANGES.txt src/java/org/apache/hadoop/hbase/regionserver/HStore.java
Date Sat, 10 Jan 2009 22:44:32 GMT
Author: apurtell
Date: Sat Jan 10 14:44:32 2009
New Revision: 733393

URL: http://svn.apache.org/viewvc?rev=733393&view=rev
Log:
HBASE-1119 ArrayOutOfBoundsException in HStore.compact

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

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=733393&r1=733392&r2=733393&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Sat Jan 10 14:44:32 2009
@@ -139,6 +139,7 @@
                -ROOT- goes down
    HBASE-1114  Weird NPEs compacting
    HBASE-1116  generated web.xml and svn don't play nice together
+   HBASE-1119  ArrayOutOfBoundsException in HStore.compact
 
   IMPROVEMENTS
    HBASE-901   Add a limit to key length, check key and value length on client side

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HStore.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HStore.java?rev=733393&r1=733392&r2=733393&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HStore.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HStore.java Sat Jan 10
14:44:32 2009
@@ -868,7 +868,7 @@
         int len = 0;
         // listStatus can come back null.
         FileStatus [] fss = this.fs.listStatus(path);
-        for (int ii = 0; fss != null && i < fss.length; ii++) {
+        for (int ii = 0; fss != null && ii < fss.length; ii++) {
           len += fss[ii].getLen();
         }
         fileSizes[i] = len;



Mime
View raw message