diff --git a/CHANGES.txt b/CHANGES.txt
index 4911d6839fd..c307d99b268 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -897,6 +897,8 @@ Release 0.21.0 - Unreleased
(Lars Francke via Stack)
HBASE-2942 Custom filters should not require registration in
HBaseObjectWritable (Gary Helmling via Andrew Purtell)
+ HBASE-2976 Running HFile tool passing fully-qualified filename I get
+ 'IllegalArgumentException: Wrong FS'
NEW FEATURES
HBASE-1961 HBase EC2 scripts
diff --git a/src/docbkx/book.xml b/src/docbkx/book.xml
index 94198aeb239..afecfbb6e08 100644
--- a/src/docbkx/book.xml
+++ b/src/docbkx/book.xml
@@ -32,6 +32,38 @@
First...
+
+ Filesystem Format
+ How HBase persists to the target Filesystem
+
+
+ HFile
+
+ HFile Tool
+ To view a textualized version of hfile content, you can do use
+ the
+ org.apache.hadoop.hbase.io.hfile.HFile
+
+ tool. Type the following to see usage:
+
+ $ ${HBASE_HOME}/bin/hbase org.apache.hadoop.hbase.io.hfile.HFile
+
+ For example, to view the content of the file
+ hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475
+ , type the following:
+
+ $ ${HBASE_HOME}/bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f
+hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475
+
+ If you leave off the option -v to see just a summary on the hfile.
+ See usage for other things to do with the HFile tool.
+
+
+
+
+
+
+
Regions
diff --git a/src/main/java/org/apache/hadoop/hbase/io/hfile/HFile.java b/src/main/java/org/apache/hadoop/hbase/io/hfile/HFile.java
index 65cbb9d01c8..3966108f8c2 100644
--- a/src/main/java/org/apache/hadoop/hbase/io/hfile/HFile.java
+++ b/src/main/java/org/apache/hadoop/hbase/io/hfile/HFile.java
@@ -1826,6 +1826,8 @@ public class HFile {
Configuration conf = HBaseConfiguration.create();
conf.set("fs.defaultFS",
conf.get(org.apache.hadoop.hbase.HConstants.HBASE_DIR));
+ conf.set("fs.default.name",
+ conf.get(org.apache.hadoop.hbase.HConstants.HBASE_DIR));
FileSystem fs = FileSystem.get(conf);
ArrayList files = new ArrayList();
if (cmd.hasOption("f")) {