hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r679210 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HStore.java
Date Wed, 23 Jul 2008 22:09:53 GMT
Author: stack
Date: Wed Jul 23 15:09:52 2008
New Revision: 679210

URL: http://svn.apache.org/viewvc?rev=679210&view=rev
Log:
HBASE-766 FileNotFoundException trying to load HStoreFile 'data'

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

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=679210&r1=679209&r2=679210&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 Wed Jul 23
15:09:52 2008
@@ -390,7 +390,6 @@
       }
       curfile = new HStoreFile(conf, fs, basedir, info.getEncodedName(),
         family.getName(), fid, reference);
-      storeSize += curfile.length();
       long storeSeqId = -1;
       try {
         storeSeqId = curfile.loadInfo(fs);
@@ -435,6 +434,7 @@
           continue;
         }
       }
+      storeSize += curfile.length();
       
       // TODO: Confirm referent exists.
       



Mime
View raw message