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:00 UTC
svn commit: r1187003 - in /hbase/branches/0.92: CHANGES.txt
src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java
Author: stack
Date: Thu Oct 20 19:24:59 2011
New Revision: 1187003
URL: http://svn.apache.org/viewvc?rev=1187003&view=rev
Log:
HBASE-4595 HFilePrettyPrinter Scanned kv count always 0
Modified:
hbase/branches/0.92/CHANGES.txt
hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java
Modified: hbase/branches/0.92/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/CHANGES.txt?rev=1187003&r1=1187002&r2=1187003&view=diff
==============================================================================
--- hbase/branches/0.92/CHANGES.txt (original)
+++ hbase/branches/0.92/CHANGES.txt Thu Oct 20 19:24:59 2011
@@ -355,6 +355,7 @@ Release 0.92.0 - Unreleased
(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-4492 TestRollingRestart fails intermittently
Modified: hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java?rev=1187003&r1=1187002&r2=1187003&view=diff
==============================================================================
--- hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java (original)
+++ hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java Thu Oct 20 19:24:59 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 {