Author: stack
Date: Thu Oct 22 16:41:39 2009
New Revision: 828776

URL: http://svn.apache.org/viewvc?rev=828776&view=rev
Log:
HBASE-1925 IllegalAccessError: Has not been initialized (getMaxSequenceId)

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

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=828776&r1=828775&r2=828776&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Thu Oct 22 16:41:39 2009
@@ -76,6 +76,7 @@
    HBASE-1915  HLog.sync is called way too often, needs to be only called 1x 
per
                RPC
    HBASE-1777  column length is not checked before saved to memstore
+   HBASE-1925  IllegalAccessError: Has not been initialized (getMaxSequenceId)
 
   IMPROVEMENTS
    HBASE-1760  Cleanup TODOs in HTable

Modified: 
hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/Store.java
URL: 
http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/Store.java?rev=828776&r1=828775&r2=828776&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/Store.java 
(original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/Store.java 
Thu Oct 22 16:41:39 2009
@@ -550,10 +550,10 @@
             flushed += this.memstore.heapSizeChange(kv, true);
           }
         }
-        // B. Write out the log sequence number that corresponds to this output
-        // MapFile.  The MapFile is current up to and including 
logCacheFlushId.
-        StoreFile.appendMetadata(writer, logCacheFlushId);
       } finally {
+        // Write out the log sequence number that corresponds to this output
+        // hfile.  The hfile is current up to and including logCacheFlushId.
+        StoreFile.appendMetadata(writer, logCacheFlushId);
         writer.close();
       }
     }


Reply via email to