diff --git a/CHANGES.txt b/CHANGES.txt index f72520788d4..199707c42d7 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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 diff --git a/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java b/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java index 02ed246891e..a322eed0c7b 100644 --- a/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java +++ b/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java @@ -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 {