From 0330ea17c1b47df84d4c3020f297baebc27f7b88 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Wed, 23 Jul 2008 22:09:52 +0000 Subject: [PATCH] HBASE-766 FileNotFoundException trying to load HStoreFile 'data' git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679210 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/hadoop/hbase/regionserver/HStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/hadoop/hbase/regionserver/HStore.java b/src/java/org/apache/hadoop/hbase/regionserver/HStore.java index e29c42f281c..42358454185 100644 --- a/src/java/org/apache/hadoop/hbase/regionserver/HStore.java +++ b/src/java/org/apache/hadoop/hbase/regionserver/HStore.java @@ -390,7 +390,6 @@ public class HStore implements HConstants { } 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 @@ public class HStore implements HConstants { continue; } } + storeSize += curfile.length(); // TODO: Confirm referent exists.