hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raw...@apache.org
Subject svn commit: r1034229 - in /hbase/trunk: CHANGES.txt src/docbkx/book.xml src/main/java/org/apache/hadoop/hbase/io/HalfStoreFileReader.java
Date Fri, 12 Nov 2010 01:22:57 GMT
Author: rawson
Date: Fri Nov 12 01:22:56 2010
New Revision: 1034229

URL: http://svn.apache.org/viewvc?rev=1034229&view=rev
Log:
HBASE-3224  NPE in KeyValue$KVComparator.compare when compacting


Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/docbkx/book.xml
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/HalfStoreFileReader.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1034229&r1=1034228&r2=1034229&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Fri Nov 12 01:22:56 2010
@@ -677,6 +677,7 @@ Release 0.90.0 - Unreleased
    HBASE-3219  Split parents are reassigned on restart and on disable/enable
    HBASE-3222  Regionserver region listing in UI is no longer ordered
    HBASE-3221  Race between splitting and disabling
+   HBASE-3224  NPE in KeyValue$KVComparator.compare when compacting
 
 
   IMPROVEMENTS

Modified: hbase/trunk/src/docbkx/book.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/book.xml?rev=1034229&r1=1034228&r2=1034229&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/book.xml (original)
+++ hbase/trunk/src/docbkx/book.xml Fri Nov 12 01:22:56 2010
@@ -508,6 +508,15 @@ index e70ebc6..96f8c27 100644
       </section>
 
       <section xml:id="recommended_configurations"><title>Recommended Configuations</title>
+      <section xml:id="big_memory">
+        <title>Configuration for large memory machines</title>
+        <para>
+          HBase ships with a reasonable configuration that will work on nearly all
+          machine types that people might want to test with. If you have larger
+          machines you might the following configuration options helpful.
+        </para>
+
+      </section>
       <section xml:id="lzo">
       <title>LZO compression</title>
       <para>You should consider enabling LZO compression.  Its

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/HalfStoreFileReader.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/HalfStoreFileReader.java?rev=1034229&r1=1034228&r2=1034229&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/HalfStoreFileReader.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/HalfStoreFileReader.java Fri Nov
12 01:22:56 2010
@@ -229,6 +229,10 @@ public class HalfStoreFileReader extends
             return 1;
           }
         }
+        if (atEnd) {
+          // skip the 'reseek' and just return 1.
+          return 1;
+        }
         return delegate.reseekTo(key, offset, length);
       }
 



Mime
View raw message