You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by la...@apache.org on 2013/08/14 01:11:21 UTC

svn commit: r1513686 - /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java

Author: larsh
Date: Tue Aug 13 23:11:20 2013
New Revision: 1513686

URL: http://svn.apache.org/r1513686
Log:
HBASE-9200 HFilePrettyPrinter finds incorrect largest row (Shrijeet Paliwal)

Modified:
    hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java

Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java?rev=1513686&r1=1513685&r2=1513686&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java (original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java Tue Aug 13 23:11:20 2013
@@ -423,6 +423,7 @@ public class HFilePrettyPrinter {
 
       if (curRowBytes > maxRowBytes && prevKV != null) {
         biggestRow = prevKV.getRow();
+        maxRowBytes = curRowBytes;
       }
 
       curRowBytes = 0;