diff --git a/README.md b/README.md
index e56133601a1e..6d2db38892fd 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ under the License.
# Getting Started
To get started using HBase, visit the [project home page](https://hbase.apache.org).
-The HBase [Reference Guide](https://hbase.apache.org/book.html) has a 'Quick Start' section and is where you should begin your exploration of the HBase project.
+The HBase [Reference Guide](https://hbase.apache.org/docs) has a 'Quick Start' section and is where you should begin your exploration of the HBase project.
The latest HBase can be downloaded from the [download page](https://hbase.apache.org/downloads/).
diff --git a/bin/hbase b/bin/hbase
index d8d9b6ec5b25..045b6171fa67 100755
--- a/bin/hbase
+++ b/bin/hbase
@@ -641,7 +641,7 @@ elif [ "$COMMAND" = "restore" ] ; then
fi
elif [ "$COMMAND" = "upgrade" ] ; then
echo "This command was used to upgrade to HBase 0.96, it was removed in HBase 2.0.0."
- echo "Please follow the documentation at http://hbase.apache.org/book.html#upgrading."
+ echo "Please follow the documentation at https://hbase.apache.org/docs/upgrading."
exit 1
elif [ "$COMMAND" = "snapshot" ] ; then
SUBCOMMAND=$1
diff --git a/conf/hbase-env.cmd b/conf/hbase-env.cmd
index 84519d5606d2..d673595b30ad 100644
--- a/conf/hbase-env.cmd
+++ b/conf/hbase-env.cmd
@@ -37,7 +37,7 @@
@rem Extra Java runtime options.
@rem Below are what we set by default. May only work with SUN JVM.
@rem For more on why as well as other possible settings,
-@rem see http://hbase.apache.org/book.html#performance
+@rem see https://hbase.apache.org/docs/performance
@rem JDK6 on Windows has a known bug for IPv6, use preferIPv4Stack unless JDK7.
@rem @rem See TestIPv6NIOServerSocketChannel.
set HBASE_OPTS=%HBASE_OPTS% "-XX:+UseConcMarkSweepGC" "-Djava.net.preferIPv4Stack=true"
diff --git a/conf/hbase-env.sh b/conf/hbase-env.sh
index 73b7b72ea2f7..d80bfaeeddb2 100644
--- a/conf/hbase-env.sh
+++ b/conf/hbase-env.sh
@@ -34,14 +34,15 @@
# export HBASE_HEAPSIZE=1G
# Uncomment below if you intend to use off heap cache. For example, to allocate 8G of
-# offheap, set the value to "8G". See http://hbase.apache.org/book.html#direct.memory
+# offheap, set the value to "8G". See "Direct Memory Usage In HBase" in
+# https://hbase.apache.org/docs/architecture/regionserver#bucketcache-example-configuration
# in the refguide for guidance setting this config.
# export HBASE_OFFHEAPSIZE=1G
# Extra Java runtime options.
# Default settings are applied according to the detected JVM version. Override these default
# settings by specifying a value here. For more details on possible settings,
-# see http://hbase.apache.org/book.html#_jvm_tuning
+# see https://hbase.apache.org/docs/regionserver-sizing#jvm-tuning
# export HBASE_OPTS
# Uncomment one of the below three options to enable java garbage collection logging for the server-side processes.
diff --git a/conf/hbase-site.xml b/conf/hbase-site.xml
index 48b78ec72d07..a612737f7f2c 100644
--- a/conf/hbase-site.xml
+++ b/conf/hbase-site.xml
@@ -37,7 +37,7 @@
permitting operation. This configuration is for the developer workstation
only and __should not be used in production!__
- See also https://hbase.apache.org/book.html#standalone_dist
+ See also https://hbase.apache.org/docs/configuration/hbase-run-models
-->
hbase.cluster.distributed
diff --git a/dev-support/create-release/README.txt b/dev-support/create-release/README.txt
index f679a47cfb33..14c2b7d458db 100644
--- a/dev-support/create-release/README.txt
+++ b/dev-support/create-release/README.txt
@@ -32,7 +32,8 @@ to remove dry-run mode.
Before starting the RC build, run a reconciliation of what is in JIRA with
what is in the commit log. Make sure they align and that anomalies are
-explained up in JIRA. See http://hbase.apache.org/book.html#maven.release
+explained up in JIRA.
+See https://hbase.apache.org/docs/building-and-developing/releasing#making-a-release-candidate
for how.
Regardless of where your release build will run (locally, locally in docker,
diff --git a/dev-support/design-docs/Coprocessor_Design_Improvements-Use_composition_instead_of_inheritance-HBASE-17732.adoc b/dev-support/design-docs/Coprocessor_Design_Improvements-Use_composition_instead_of_inheritance-HBASE-17732.adoc
index 2476f8a47825..8d588794efef 100644
--- a/dev-support/design-docs/Coprocessor_Design_Improvements-Use_composition_instead_of_inheritance-HBASE-17732.adoc
+++ b/dev-support/design-docs/Coprocessor_Design_Improvements-Use_composition_instead_of_inheritance-HBASE-17732.adoc
@@ -49,7 +49,7 @@ logic to internal code paths.
[[background]]
== Background
-Coprocessors are well link:http://hbase.apache.org/book.html#cp[documented in the refguide].
+Coprocessors are well link:https://hbase.apache.org/docs/cp[documented in the refguide].
Here we give a little background information on involved classes, their responsibilities, and
relationship to each other.
@@ -59,7 +59,7 @@ relationship to each other.
*** All *Observer* interfaces derive from Coprocessor interface.
**** Coprocessor Interface is a _Marker _Interface. It just has start/stop methods and enums for
stages in the Coprocessor Lifecycle.
-** http://hbase.apache.org/book.html#_observer_coprocessors[Observers] (interface)
+** https://hbase.apache.org/docs/cp#observer-coprocessors[Observers] (interface)
*** Contain hooks which third-party programs can override to inject functionality in various
internal code paths. For e.g preCreateTable(...) will be called just before any table is created.
*** Current set of observers: _MasterObserver, RegionObserver, RegionServerObserver, WALObserver,
diff --git a/dev-support/integration-test/integration-test.Jenkinsfile b/dev-support/integration-test/integration-test.Jenkinsfile
index d4490bc3311b..b17025ab6425 100644
--- a/dev-support/integration-test/integration-test.Jenkinsfile
+++ b/dev-support/integration-test/integration-test.Jenkinsfile
@@ -46,7 +46,7 @@ pipeline {
}
}
// This is meant to mimic what a release manager will do to create RCs.
- // See http://hbase.apache.org/book.html#maven.release
+ // See https://hbase.apache.org/docs/building-and-developing/releasing#making-a-release-candidate
// TODO (HBASE-23870): replace this with invocation of the release tool
stage ('packaging test') {
steps {
diff --git a/dev-support/integration-test/source-artifact.sh b/dev-support/integration-test/source-artifact.sh
index da48ad07de23..7292d2da8c37 100755
--- a/dev-support/integration-test/source-artifact.sh
+++ b/dev-support/integration-test/source-artifact.sh
@@ -128,7 +128,7 @@ else
fi
# This is meant to mimic what a release manager will do to create RCs.
-# See http://hbase.apache.org/book.html#maven.release
+# See https://hbase.apache.org/docs/building-and-developing/releasing#making-a-release-candidate
echo "Maven details, in case our JDK doesn't match expectations:"
${MVN} --version --offline | tee "${working_dir}/maven_version"
diff --git a/dev-support/make_rc.sh b/dev-support/make_rc.sh
index 1d65f1807c7a..bd65ceb87296 100755
--- a/dev-support/make_rc.sh
+++ b/dev-support/make_rc.sh
@@ -17,4 +17,4 @@
# limitations under the License.
echo "Replaced by ./dev-support/create-release/do-release-docker.sh script."
-echo "See http://hbase.apache.org/book.html#do-release-docker.sh"
+echo "See https://hbase.apache.org/docs/building-and-developing/releasing#making-a-release-candidate"
diff --git a/hbase-archetypes/hbase-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/client/HelloHBase.java b/hbase-archetypes/hbase-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/client/HelloHBase.java
index 3ca23a618ae4..4077b2d25dce 100644
--- a/hbase-archetypes/hbase-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/client/HelloHBase.java
+++ b/hbase-archetypes/hbase-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/client/HelloHBase.java
@@ -39,7 +39,8 @@
/**
* Successful running of this application requires access to an active instance of HBase. For
* install instructions for a standalone instance of HBase, please refer to
- * https://hbase.apache.org/book.html#quickstart
+ * Quick
+ * Start - Standalone HBase
*/
public final class HelloHBase {
diff --git a/hbase-archetypes/hbase-shaded-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/shaded_client/HelloHBase.java b/hbase-archetypes/hbase-shaded-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/shaded_client/HelloHBase.java
index 964e9a5bbd79..404041b5eac2 100644
--- a/hbase-archetypes/hbase-shaded-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/shaded_client/HelloHBase.java
+++ b/hbase-archetypes/hbase-shaded-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/shaded_client/HelloHBase.java
@@ -38,7 +38,8 @@
/**
* Successful running of this application requires access to an active instance of HBase. For
* install instructions for a standalone instance of HBase, please refer to
- * https://hbase.apache.org/book.html#quickstart
+ * Quick
+ * Start - Standalone HBase
*/
public final class HelloHBase {
diff --git a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupRestoreConstants.java b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupRestoreConstants.java
index 57454d402173..d767f254963f 100644
--- a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupRestoreConstants.java
+++ b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupRestoreConstants.java
@@ -111,7 +111,7 @@ public interface BackupRestoreConstants {
+ CoprocessorHost.REGION_COPROCESSOR_CONF_KEY + "=YOUR_CLASSES,"
+ BackupObserver.class.getSimpleName() + "\n" + CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY
+ "=YOUR_CLASSES," + BackupMasterObserver.class.getSimpleName() + "\nand restart the cluster\n"
- + "For more information please see http://hbase.apache.org/book.html#backuprestore\n";
+ + "For more information please see https://hbase.apache.org/docs/backup-restore\n";
String ENABLE_BACKUP = "Backup is not enabled. To enable backup, " + "in hbase-site.xml, set:\n "
+ BACKUP_CONFIG_STRING;
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ColumnFamilyDescriptorBuilder.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ColumnFamilyDescriptorBuilder.java
index 12bb73565078..6635645c0760 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ColumnFamilyDescriptorBuilder.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ColumnFamilyDescriptorBuilder.java
@@ -828,8 +828,8 @@ public Compression.Algorithm getCompressionType() {
/**
* Compression types supported in hbase. LZO is not bundled as part of the hbase distribution.
- * See See LZO Compression for
- * how to enable it.
+ * See
+ * LZO Compression for how to enable it.
* @param type Compression type setting.
* @return this (for chained invocation)
*/
@@ -903,8 +903,8 @@ public Compression.Algorithm getMinorCompactionCompressionType() {
/**
* Compression types supported in hbase. LZO is not bundled as part of the hbase distribution.
- * See See LZO Compression for
- * how to enable it.
+ * See
+ * LZO Compression for how to enable it.
* @param type Compression type setting.
* @return this (for chained invocation)
*/
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ZKConnectionRegistry.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ZKConnectionRegistry.java
index ebb43723b8f8..d31c0090f568 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ZKConnectionRegistry.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ZKConnectionRegistry.java
@@ -85,7 +85,7 @@ class ZKConnectionRegistry implements ConnectionRegistry {
synchronized (WARN_LOCK) {
if (NEEDS_LOG_WARN) {
LOG.warn(
- "ZKConnectionRegistry is deprecated. See https://hbase.apache.org/book.html#client.rpcconnectionregistry");
+ "ZKConnectionRegistry is deprecated. See https://hbase.apache.org/docs/architecture/client#rpc-connection-registry-new-as-of-250");
NEEDS_LOG_WARN = false;
}
}
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/package-info.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/package-info.java
index dd85d3e06288..e29ab817849b 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/package-info.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/package-info.java
@@ -200,11 +200,11 @@ public static void main(String[] args) throws IOException {
See also the section in the HBase Reference Guide where it discusses
- HBase Client. It
+ HBase Client. It
has section on how to access HBase from inside your multithreaded environment
how to control resources consumed client-side, etc.
*/
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/AuthUtil.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/AuthUtil.java
index d7eef52a4f9f..a6152c137a8a 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/AuthUtil.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/AuthUtil.java
@@ -67,9 +67,9 @@
*
*
* This class will be internal used only from 2.2.0 version, and will transparently work for
- * kerberized applications. For more, please refer
- * Client-side Configuration
- * for Secure Operation
+ * kerberized applications. For more, please refer HBASE-20886
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Sleeper.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Sleeper.java
index 8fdcc189ea8b..e51409717482 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Sleeper.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Sleeper.java
@@ -86,7 +86,7 @@ public void sleep(long sleepTime) {
LOG.warn(
"We slept {}ms instead of {}ms, this is likely due to a long "
+ "garbage collecting pause and it's usually bad, see "
- + "http://hbase.apache.org/book.html#trouble.rs.runtime.zkexpired",
+ + "https://hbase.apache.org/docs/troubleshooting#zookeeper-sessionexpired-events-toc",
slept, this.period);
}
} catch (InterruptedException iex) {
diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml
index 6f0d7e6b41fc..6e8b9ea9e1fc 100644
--- a/hbase-common/src/main/resources/hbase-default.xml
+++ b/hbase-common/src/main/resources/hbase-default.xml
@@ -1058,7 +1058,8 @@ possible configurations would overwhelm and obscure the important.
mmap means the content will be in an mmaped file. Use mmap:PATH_TO_FILE. 'pmem'
is bucket cache over a file on the persistent memory device.
Use pmem:PATH_TO_FILE.
- See http://hbase.apache.org/book.html#offheap.blockcache for more information.
+ See https://hbase.apache.org/docs/architecture/regionserver#off-heap-block-cache
+ for more information.
@@ -1100,7 +1101,8 @@ possible configurations would overwhelm and obscure the important.
hfile.format.version
3
The HFile format version to use for new files.
- Version 3 adds support for tags in hfiles (See http://hbase.apache.org/book.html#hbase.tags).
+ Version 3 adds support for tags in hfiles (See
+ https://hbase.apache.org/docs/security/data-access#tags).
Also see the configuration 'hbase.replication.rpc.codec'.
diff --git a/hbase-http/src/main/java/org/apache/hadoop/hbase/http/ProfileServlet.java b/hbase-http/src/main/java/org/apache/hadoop/hbase/http/ProfileServlet.java
index 435dde9af496..ac5a55138fc4 100644
--- a/hbase-http/src/main/java/org/apache/hadoop/hbase/http/ProfileServlet.java
+++ b/hbase-http/src/main/java/org/apache/hadoop/hbase/http/ProfileServlet.java
@@ -159,9 +159,9 @@ protected void doGet(final HttpServletRequest req, final HttpServletResponse res
setResponseHeader(resp);
resp.getWriter()
.write("ASYNC_PROFILER_HOME env is not set.\n\n"
- + "Please ensure the prerequsites for the Profiler Servlet have been installed and the\n"
+ + "Please ensure the prerequisites for the Profiler Servlet have been installed and the\n"
+ "environment is properly configured. For more information please see\n"
- + "http://hbase.apache.org/book.html#profiler\n");
+ + "https://hbase.apache.org/docs/profiler\n");
return;
}
@@ -381,7 +381,7 @@ protected void doGet(final HttpServletRequest req, final HttpServletResponse res
.write("The profiler servlet was disabled at startup.\n\n"
+ "Please ensure the prerequisites for the Profiler Servlet have been installed and the\n"
+ "environment is properly configured. For more information please see\n"
- + "http://hbase.apache.org/book.html#profiler\n");
+ + "https://hbase.apache.org/docs/profiler\n");
return;
}
diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestBase.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestBase.java
index dc7384e13f1a..1b591d0a7677 100644
--- a/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestBase.java
+++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestBase.java
@@ -136,7 +136,8 @@ protected int doWork() throws Exception {
ChoreService choreService = null;
// Launches chore for refreshing kerberos credentials if security is enabled.
- // Please see http://hbase.apache.org/book.html#_running_canary_in_a_kerberos_enabled_cluster
+ // Please see
+ // https://hbase.apache.org/docs/operational-management/tools#running-canary-in-a-kerberos-enabled-cluster
// for more details.
final ScheduledChore authChore = AuthUtil.getAuthChore(conf);
if (authChore != null) {
diff --git a/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapred/package-info.java b/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapred/package-info.java
index b375b3980b5c..ead66ef69eb7 100644
--- a/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapred/package-info.java
+++ b/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapred/package-info.java
@@ -20,7 +20,7 @@
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
-
See HBase and MapReduce
+
See HBase and MapReduce
in the HBase Reference Guide for mapreduce over hbase documentation.
*/
package org.apache.hadoop.hbase.mapred;
diff --git a/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/HRegionPartitioner.java b/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/HRegionPartitioner.java
index a3d55a4cbf2c..d060109760d6 100644
--- a/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/HRegionPartitioner.java
+++ b/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/HRegionPartitioner.java
@@ -40,7 +40,7 @@
* This class is not suitable as partitioner creating hfiles for incremental bulk loads as region
* spread will likely change between time of hfile creation and load time. See
* {@link org.apache.hadoop.hbase.tool.BulkLoadHFiles} and
- * Bulk Load.
+ * Bulk Loading.
*
* @param The type of the key.
* @param The type of the value.
diff --git a/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/package-info.java b/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/package-info.java
index 29b63096902a..9388d7bfbe83 100644
--- a/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/package-info.java
+++ b/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/package-info.java
@@ -20,7 +20,7 @@
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
-See HBase and MapReduce
+
See HBase and MapReduce
in the HBase Reference Guide for mapreduce over hbase documentation.
*/
package org.apache.hadoop.hbase.mapreduce;
diff --git a/hbase-metrics-api/README.txt b/hbase-metrics-api/README.txt
index ddba89b506d3..5642fb33772a 100644
--- a/hbase-metrics-api/README.txt
+++ b/hbase-metrics-api/README.txt
@@ -72,7 +72,7 @@ of the metric registries in the MetricRegistries.global() instance.
References
-1. https://hbase.apache.org/book.html#hbase.versioning
+1. https://hbase.apache.org/docs/upgrading/version-number
2. http://metrics.dropwizard.io/
3. https://hadoop.apache.org/docs/r2.7.2/api/org/apache/hadoop/metrics2/package-summary.html
4. https://issues.apache.org/jira/browse/HBASE-9774
diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/package.html b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/package.html
index 1129023b2847..89744c7dea67 100644
--- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/package.html
+++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/package.html
@@ -24,7 +24,7 @@
HBase REST
This package provides a RESTful Web service front end for HBase.
-The documentation that used to live in this file has moved to the HBase Reference Guide.
+The documentation that used to live in this file has moved to the HBase Reference Guide.