diff --git a/src/main/asciidoc/_chapters/architecture.adoc b/src/main/asciidoc/_chapters/architecture.adoc index 08f353972468..be6572e4ec15 100644 --- a/src/main/asciidoc/_chapters/architecture.adoc +++ b/src/main/asciidoc/_chapters/architecture.adoc @@ -1968,10 +1968,10 @@ Type the following to see usage: ---- $ ${HBASE_HOME}/bin/hbase hfile ---- -For example, to view the content of the file _hdfs://10.81.47.41:8020/hbase/default/TEST/1418428042/DSMP/4759508618286845475_, type the following: +For example, to view the content of the file _hdfs://10.81.47.41:9000/hbase/default/TEST/1418428042/DSMP/4759508618286845475_, type the following: [source,bash] ---- - $ ${HBASE_HOME}/bin/hbase hfile -v -f hdfs://10.81.47.41:8020/hbase/default/TEST/1418428042/DSMP/4759508618286845475 + $ ${HBASE_HOME}/bin/hbase hfile -v -f hdfs://10.81.47.41:9000/hbase/default/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. diff --git a/src/main/asciidoc/_chapters/backup_restore.adoc b/src/main/asciidoc/_chapters/backup_restore.adoc index 25555751cb73..79454426e4fc 100644 --- a/src/main/asciidoc/_chapters/backup_restore.adoc +++ b/src/main/asciidoc/_chapters/backup_restore.adoc @@ -267,10 +267,10 @@ _-q _:: [source] ---- -$ hbase backup create full hdfs://host5:8020/data/backup -t SALES2,SALES3 -w 3 +$ hbase backup create full hdfs://host5:9000/data/backup -t SALES2,SALES3 -w 3 ---- -This command creates a full backup image of two tables, SALES2 and SALES3, in the HDFS instance who NameNode is host5:8020 +This command creates a full backup image of two tables, SALES2 and SALES3, in the HDFS instance who NameNode is host5:9000 in the path _/data/backup_. The _-w_ option specifies that no more than three parallel works complete the operation. // hbase backup restore diff --git a/src/main/asciidoc/_chapters/configuration.adoc b/src/main/asciidoc/_chapters/configuration.adoc index 5dbc09b84a25..aeb81af4e215 100644 --- a/src/main/asciidoc/_chapters/configuration.adoc +++ b/src/main/asciidoc/_chapters/configuration.adoc @@ -544,7 +544,7 @@ to _false_. For example: hbase.rootdir - hdfs://namenode.example.org:8020/hbase + hdfs://namenode.example.org:9000/hbase hbase.cluster.distributed @@ -621,7 +621,7 @@ overridden in the _hbase-site.xml_. See "<>" f hbase.rootdir - hdfs://namenode.example.org:8020/hbase + hdfs://namenode.example.org:9000/hbase hbase.cluster.distributed @@ -945,7 +945,7 @@ _hbase-env.sh_ -- found in the HBase _conf_ directory might look like. hbase.rootdir - hdfs://example0:8020/hbase + hdfs://example0:9000/hbase The directory shared by RegionServers. diff --git a/src/main/asciidoc/_chapters/getting_started.adoc b/src/main/asciidoc/_chapters/getting_started.adoc index bf501d47c699..aa630e35d6ad 100644 --- a/src/main/asciidoc/_chapters/getting_started.adoc +++ b/src/main/asciidoc/_chapters/getting_started.adoc @@ -292,7 +292,7 @@ In this example, HDFS is running on the localhost at port 8020. hbase.rootdir - hdfs://localhost:8020/hbase + hdfs://localhost:9000/hbase ---- + diff --git a/src/main/asciidoc/_chapters/ops_mgt.adoc b/src/main/asciidoc/_chapters/ops_mgt.adoc index c8bad4e96f2a..609b22980f29 100644 --- a/src/main/asciidoc/_chapters/ops_mgt.adoc +++ b/src/main/asciidoc/_chapters/ops_mgt.adoc @@ -432,7 +432,7 @@ The `WALPrettyPrinter` is a tool with configurable options to print the contents or a _recovered.edits_ file. You can invoke it via the HBase cli with the 'wal' command. ---- - $ ./bin/hbase wal hdfs://example.org:8020/hbase/WALs/example.org,60020,1283516293161/10.10.21.10%3A60020.1283973724012 + $ ./bin/hbase wal hdfs://example.org:9000/hbase/WALs/example.org,60020,1283516293161/10.10.21.10%3A60020.1283973724012 ---- .WAL Printing in older versions of HBase @@ -442,7 +442,7 @@ Prior to version 2.0, the `WALPrettyPrinter` was called the `HLogPrettyPrinter`, In those versions, you can print the contents of a WAL using the same configuration as above, but with the 'hlog' command. ---- - $ ./bin/hbase hlog hdfs://example.org:8020/hbase/.logs/example.org,60020,1283516293161/10.10.21.10%3A60020.1283973724012 + $ ./bin/hbase hlog hdfs://example.org:9000/hbase/.logs/example.org,60020,1283516293161/10.10.21.10%3A60020.1283973724012 ---- ==== @@ -1222,15 +1222,15 @@ If the problem is about PREFIX_TREE encoding it is necessary to change encodings The following log message shows an example of incorrect HFiles. ---- -2018-06-05 16:20:46,976 WARN [hfilevalidator-pool1-t3] hbck.HFileCorruptionChecker: Found corrupt HFile hdfs://example.com:8020/hbase/data/default/t/72ea7f7d625ee30f959897d1a3e2c350/prefix/7e6b3d73263c4851bf2b8590a9b3791e -org.apache.hadoop.hbase.io.hfile.CorruptHFileException: Problem reading HFile Trailer from file hdfs://example.com:8020/hbase/data/default/t/72ea7f7d625ee30f959897d1a3e2c350/prefix/7e6b3d73263c4851bf2b8590a9b3791e +2018-06-05 16:20:46,976 WARN [hfilevalidator-pool1-t3] hbck.HFileCorruptionChecker: Found corrupt HFile hdfs://example.com:9000/hbase/data/default/t/72ea7f7d625ee30f959897d1a3e2c350/prefix/7e6b3d73263c4851bf2b8590a9b3791e +org.apache.hadoop.hbase.io.hfile.CorruptHFileException: Problem reading HFile Trailer from file hdfs://example.com:9000/hbase/data/default/t/72ea7f7d625ee30f959897d1a3e2c350/prefix/7e6b3d73263c4851bf2b8590a9b3791e ... Caused by: java.io.IOException: Invalid data block encoding type in file info: PREFIX_TREE ... Caused by: java.lang.IllegalArgumentException: No enum constant org.apache.hadoop.hbase.io.encoding.DataBlockEncoding.PREFIX_TREE ... -2018-06-05 16:20:47,322 INFO [main] tool.HFileContentValidator: Corrupted file: hdfs://example.com:8020/hbase/data/default/t/72ea7f7d625ee30f959897d1a3e2c350/prefix/7e6b3d73263c4851bf2b8590a9b3791e -2018-06-05 16:20:47,383 INFO [main] tool.HFileContentValidator: Corrupted file: hdfs://example.com:8020/hbase/archive/data/default/t/56be41796340b757eb7fff1eb5e2a905/f/29c641ae91c34fc3bee881f45436b6d1 +2018-06-05 16:20:47,322 INFO [main] tool.HFileContentValidator: Corrupted file: hdfs://example.com:9000/hbase/data/default/t/72ea7f7d625ee30f959897d1a3e2c350/prefix/7e6b3d73263c4851bf2b8590a9b3791e +2018-06-05 16:20:47,383 INFO [main] tool.HFileContentValidator: Corrupted file: hdfs://example.com:9000/hbase/archive/data/default/t/56be41796340b757eb7fff1eb5e2a905/f/29c641ae91c34fc3bee881f45436b6d1 ---- ===== Fixing PREFIX_TREE errors