You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2011/10/20 21:25:38 UTC
svn commit: r1187004 - in /hbase/trunk: CHANGES.txt
src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java
Author: stack
Date: Thu Oct 20 19:25:38 2011
New Revision: 1187004
URL: http://svn.apache.org/viewvc?rev=1187004&view=rev
Log:
HBASE-4595 HFilePrettyPrinter Scanned kv count always 0
Modified:
hbase/trunk/CHANGES.txt
hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java
Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1187004&r1=1187003&r2=1187004&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Thu Oct 20 19:25:38 2011
@@ -383,6 +383,7 @@ Release 0.92.0 - Unreleased
pass (Li Pi)
HBASE-4510 Check and workaround usage of internal HDFS APIs in HBase
(Harsh)
+ HBASE-4595 HFilePrettyPrinter Scanned kv count always 0 (Matteo Bertozzi)
TESTS
HBASE-4450 test for number of blocks read: to serve as baseline for expected
Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java?rev=1187004&r1=1187003&r2=1187004&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java Thu Oct 20 19:25:38 2011
@@ -194,7 +194,7 @@ public class HFilePrettyPrinter {
// scan over file and read key/value's and check if requested
HFileScanner scanner = reader.getScanner(false, false, false);
scanner.seekTo();
- scanKeysValues(file, count, scanner);
+ scanKeysValues(file, scanner);
}
// print meta data
@@ -210,7 +210,7 @@ public class HFilePrettyPrinter {
reader.close();
}
- private void scanKeysValues(Path file, int count, HFileScanner scanner)
+ private void scanKeysValues(Path file, HFileScanner scanner)
throws IOException {
KeyValue pkv = null;
do {