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 2017/02/01 06:37:44 UTC
hbase git commit: HBASE-17197 hfile does not work in 2.0
Repository: hbase
Updated Branches:
refs/heads/master ccd5b9f87 -> 81956aa44
HBASE-17197 hfile does not work in 2.0
Files can be specified with -f option or without it.
Signed-off-by: Michael Stack <st...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/81956aa4
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/81956aa4
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/81956aa4
Branch: refs/heads/master
Commit: 81956aa446fdfab032609685442d3ca753c46960
Parents: ccd5b9f
Author: Balazs Meszaros <ba...@cloudera.com>
Authored: Tue Jan 31 12:11:52 2017 -0800
Committer: Michael Stack <st...@apache.org>
Committed: Tue Jan 31 22:37:31 2017 -0800
----------------------------------------------------------------------
.../java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/81956aa4/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java
index 8c34d77..1710379 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java
@@ -234,6 +234,9 @@ public class HFilePrettyPrinter extends Configured implements Tool {
}
mobFileLocations = new HashMap<String, List<Path>>();
}
+
+ cmd.getArgList().forEach((file) -> files.add(new Path(file)));
+
return true;
}