From ec715f7f23ddd55bde583a7ac8e040257b9d04db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Paksy?= Date: Thu, 26 Mar 2026 07:03:58 +0100 Subject: [PATCH 1/2] HBASE-30013 Update documentation links to point to new docs (#7963) A lot of source files in our repo still has links to book.html which will not be updated anymore. Replaced them with links to the new docs. Also changed http in links to https. Signed-off-by: Xiao Liu Signed-off-by: Duo Zhang (cherry picked from commit e584662c0f0f7828e17b369e8a0f9175b283a2ff) --- README.md | 3 ++- bin/hbase | 2 +- conf/hbase-env.cmd | 2 +- conf/hbase-env.sh | 6 ++++-- conf/hbase-site.xml | 2 +- ...position_instead_of_inheritance-HBASE-17732.adoc | 4 ++-- .../integration-test/integration-test.Jenkinsfile | 2 +- dev-support/integration-test/source-artifact.sh | 2 +- .../archetypes/exemplars/client/HelloHBase.java | 3 ++- .../exemplars/shaded_client/HelloHBase.java | 3 ++- .../hbase/client/ColumnFamilyDescriptorBuilder.java | 8 ++++---- .../apache/hadoop/hbase/client/package-info.java | 6 +++--- .../main/java/org/apache/hadoop/hbase/AuthUtil.java | 6 +++--- .../java/org/apache/hadoop/hbase/util/Sleeper.java | 2 +- hbase-common/src/main/resources/hbase-default.xml | 6 ++++-- .../apache/hadoop/hbase/http/ProfileServlet.java | 6 +++--- .../apache/hadoop/hbase/IntegrationTestBase.java | 3 ++- .../apache/hadoop/hbase/mapred/package-info.java | 2 +- .../hadoop/hbase/mapreduce/HRegionPartitioner.java | 2 +- .../apache/hadoop/hbase/mapreduce/package-info.java | 2 +- hbase-metrics-api/README.txt | 2 +- .../java/org/apache/hadoop/hbase/rest/package.html | 2 +- .../src/main/resources/hbase-webapps/rest/rest.jsp | 2 +- .../hadoop/hbase/io/hfile/BlockCacheFactory.java | 2 +- .../hadoop/hbase/io/hfile/FixedFileTrailer.java | 2 +- .../apache/hadoop/hbase/io/hfile/package-info.java | 6 ++++-- .../store/region/RegionProcedureStore.java | 7 ++++--- .../hadoop/hbase/regionserver/CompactSplit.java | 3 ++- .../org/apache/hadoop/hbase/tool/CanaryTool.java | 6 ++++-- .../java/org/apache/hadoop/hbase/util/FSUtils.java | 2 +- .../apache/hadoop/hbase/replication/package.html | 2 +- hbase-server/src/main/javadoc/overview.html | 13 ++++++------- .../resources/hbase-webapps/master/warnings.jsp | 2 +- .../regionserver/blockCacheBaseInfo.jsp | 2 +- .../hbase-webapps/regionserver/blockCacheLevel.jsp | 2 +- .../apache/hadoop/hbase/HBaseTestingUtility.java | 13 +++++++++---- .../hbase/security/access/TestAccessController.java | 2 +- .../security/access/TestAccessController3.java | 2 +- hbase-shell/src/main/ruby/shell.rb | 4 ++-- .../main/ruby/shell/commands/update_all_config.rb | 2 +- .../src/main/ruby/shell/commands/update_config.rb | 2 +- .../ruby/shell/commands/update_rsgroup_config.rb | 2 +- hbase-shell/src/test/ruby/shell/shell_test.rb | 2 +- .../main/resources/hbase-webapps/thrift/thrift.jsp | 2 +- 44 files changed, 88 insertions(+), 70 deletions(-) diff --git a/README.md b/README.md index 16c85a260a63..ffb38d006fab 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,8 @@ under the License. [Apache HBase](https://hbase.apache.org) is an open-source, distributed, versioned, column-oriented store modeled after Google' [Bigtable](https://research.google.com/archive/bigtable.html): A Distributed Storage System for Structured Data by Chang et al. Just as Bigtable leverages the distributed data storage provided by the Google File System, HBase provides Bigtable-like capabilities on top of [Apache Hadoop](https://hadoop.apache.org/). # Getting Start -To get started using HBase, the full documentation for this release can be found under the doc/ directory that accompanies this README. Using a browser, open the docs/index.html to view the project home page (or browse https://hbase.apache.org). The hbase '[book](https://hbase.apache.org/book.html)' has a 'quick start' section and is where you should being your exploration of the hbase project. +To get started using HBase, visit the [project home page](https://hbase.apache.org). +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 5b9b8014b5fd..3bc41761731d 100755 --- a/bin/hbase +++ b/bin/hbase @@ -603,7 +603,7 @@ elif [ "$COMMAND" = "zkcli" ] ; then done 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 763ac364a2e2..d80bfaeeddb2 100644 --- a/conf/hbase-env.sh +++ b/conf/hbase-env.sh @@ -34,13 +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". +# 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 20c62f7984a1..3ad58d37d067 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/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/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 5eb5081d435b..44bea0877d73 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 00a82fe50db1..606bab38bdcf 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-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 d3e8242d09a6..c2d4962f56d4 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 @@ -823,8 +823,8 @@ public Compression.Algorithm getCompressionType() { /** * Compression types supported in hbase. LZO is not bundled as part of the hbase distribution. - * 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) */ @@ -898,8 +898,8 @@ public Compression.Algorithm getMinorCompactionCompressionType() { /** * Compression types supported in hbase. LZO is not bundled as part of the hbase distribution. - * 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/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 {

Related Documentation

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 3035c7e30363..227674935719 100644 --- a/hbase-common/src/main/resources/hbase-default.xml +++ b/hbase-common/src/main/resources/hbase-default.xml @@ -1042,7 +1042,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.
@@ -1084,7 +1085,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 122d04ff1758..94611694ef5a 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; } @@ -376,7 +376,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 fb52d426854d..db567fd1b29c 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 1da3a527381d..dd8d75de5589 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 e8bb7975057c..978fe286d1b2 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.LoadIncrementalHFiles} 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 b1f15bade5cc..7624de1045dd 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.

diff --git a/hbase-rest/src/main/resources/hbase-webapps/rest/rest.jsp b/hbase-rest/src/main/resources/hbase-webapps/rest/rest.jsp index b5a706d3513c..eca9a0553095 100644 --- a/hbase-rest/src/main/resources/hbase-webapps/rest/rest.jsp +++ b/hbase-rest/src/main/resources/hbase-webapps/rest/rest.jsp @@ -79,7 +79,7 @@

diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCacheFactory.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCacheFactory.java index 38a296aad523..22bc3ba107bd 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCacheFactory.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCacheFactory.java @@ -205,7 +205,7 @@ private static BucketCache createBucketCache(Configuration c) { } if (c.get("hbase.bucketcache.percentage.in.combinedcache") != null) { LOG.warn("Configuration 'hbase.bucketcache.percentage.in.combinedcache' is no longer " - + "respected. See comments in http://hbase.apache.org/book.html#_changes_of_note"); + + "respected. See comments in https://hbase.apache.org/docs/upgrading/paths#changes-of-note"); } int writerThreads = c.getInt(BUCKET_CACHE_WRITER_THREADS_KEY, DEFAULT_BUCKET_CACHE_WRITER_THREADS); diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.java index 2e497d054f68..f8bbe7f1edfd 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.java @@ -70,7 +70,7 @@ public class FixedFileTrailer { * In version 1, the offset to the data block index. Starting from version 2, the meaning of this * field is the offset to the section of the file that should be loaded at the time the file is * being opened: i.e. on open we load the root index, file info, etc. See - * http://hbase.apache.org/book.html#_hfile_format_2 in the reference guide. + * HFile Format in the reference guide. */ private long loadOnOpenDataOffset; diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/package-info.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/package-info.java index d4a279cb996d..4c69f47a4786 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/package-info.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/package-info.java @@ -32,13 +32,15 @@ * *

Which BlockCache should I use?

* By default LruBlockCache is on. If you would like to cache more, and offheap (offheap - * usually means less GC headache), try enabling * BucketCache. Fetching will always + * usually means less GC headache), try enabling BucketCache. Fetching will always * be slower when fetching from BucketCache but latencies tend to be less erratic over time * (roughly because GC is less). See Nick Dimiduk's * BlockCache 101 for some numbers. * *

Enabling {@link org.apache.hadoop.hbase.io.hfile.bucket.BucketCache}

- * See the HBase Reference Guide Enable BucketCache. + * See the HBase Reference Guide + * Enable BucketCache. * */ package org.apache.hadoop.hbase.io.hfile; diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure2/store/region/RegionProcedureStore.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure2/store/region/RegionProcedureStore.java index 0e666fe6c94e..78df4b80dbf3 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure2/store/region/RegionProcedureStore.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure2/store/region/RegionProcedureStore.java @@ -143,8 +143,8 @@ private void checkUnsupportedProcedure(Map, List>> procsBy if (procs != null) { LOG.error("Unsupported procedure type {} found, please rollback your master to the old" + " version to finish them, and then try to upgrade again." - + " See https://hbase.apache.org/book.html#upgrade2.2 for more details." - + " The full procedure list: {}", clazz, procs); + + " See https://hbase.apache.org/docs/upgrading/paths#upgrade-from-20-or-21-to-22" + + " for more details. The full procedure list: {}", clazz, procs); throw new HBaseIOException("Unsupported procedure type " + clazz + " found"); } } @@ -158,7 +158,8 @@ private void checkUnsupportedProcedure(Map, List>> procsBy LOG.error("At least one ServerCrashProcedure is going to schedule a RecoverMetaProcedure," + " which is not supported any more. Please rollback your master to the old version to" + " finish them, and then try to upgrade again." - + " See https://hbase.apache.org/book.html#upgrade2.2 for more details."); + + " See https://hbase.apache.org/docs/upgrading/paths#upgrade-from-20-or-21-to-22" + + " for more details."); throw new HBaseIOException("Unsupported procedure state found for ServerCrashProcedure"); } } diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplit.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplit.java index 6f9c9daca90a..63ffb5b4a645 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplit.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplit.java @@ -507,7 +507,8 @@ public int getSplitQueueSize() { private boolean shouldSplitRegion(RegionInfo ri) { if (server.getNumberOfOnlineRegions() > 0.9 * regionSplitLimit) { LOG.warn("Total number of regions is approaching the upper limit " + regionSplitLimit + ". " - + "Please consider taking a look at http://hbase.apache.org/book.html#ops.regionmgt"); + + "Please consider taking a look at " + + "https://hbase.apache.org/docs/operational-management/region-and-capacity#region-management"); } return (regionSplitLimit > server.getNumberOfOnlineRegions() // Do not attempt to split secondary region replicas, as this is not allowed and our request diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/CanaryTool.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/CanaryTool.java index 979fdeb0bb88..4f98d8d94c7d 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/CanaryTool.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/CanaryTool.java @@ -1058,7 +1058,8 @@ private int runMonitor(String[] monitorTargets) 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) { @@ -1186,7 +1187,8 @@ private void printUsageAndExit() { System.err.println("To sniff/probe all regions, pass no arguments."); System.err.println("To sniff/probe all regions of a table, pass tablename."); System.err.println("To sniff/probe regionservers, pass -regionserver, etc."); - System.err.println("See http://hbase.apache.org/book.html#_canary for Canary documentation."); + System.err.println( + "See https://hbase.apache.org/docs/operational-management/tools#canary for Canary documentation."); System.exit(USAGE_EXIT_CODE); } diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java index 938f480f91db..2de0adbc4a88 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java @@ -411,7 +411,7 @@ public static void checkVersion(FileSystem fs, Path rootdir, boolean message, in } else { msg = "HBase file layout needs to be upgraded. Current filesystem version is " + version + " but software requires version " + HConstants.FILE_SYSTEM_VERSION - + ". Consult http://hbase.apache.org/book.html for further information about " + + ". Consult https://hbase.apache.org/docs for further information about " + "upgrading HBase."; } diff --git a/hbase-server/src/main/javadoc/org/apache/hadoop/hbase/replication/package.html b/hbase-server/src/main/javadoc/org/apache/hadoop/hbase/replication/package.html index 8a42139c45e4..688f1766d983 100644 --- a/hbase-server/src/main/javadoc/org/apache/hadoop/hbase/replication/package.html +++ b/hbase-server/src/main/javadoc/org/apache/hadoop/hbase/replication/package.html @@ -22,6 +22,6 @@

Multi Cluster Replication

-

Cluster replication documentation has been moved to the link:http://hbase.apache.org/book.html#_cluster_replication[Cluster Replication] section of the link:http://hbase.apache.org/book.html[Apache HBase Reference Guide].

+

Cluster replication documentation has been moved to Cluster Replication section of Apache HBase Reference Guide.

diff --git a/hbase-server/src/main/javadoc/overview.html b/hbase-server/src/main/javadoc/overview.html index 8b7f91869691..aca10424d44f 100644 --- a/hbase-server/src/main/javadoc/overview.html +++ b/hbase-server/src/main/javadoc/overview.html @@ -22,7 +22,7 @@ HBase -HBase is a scalable, distributed database built on Hadoop Core. +HBase is a scalable, distributed database built on Hadoop Core.

Table of Contents

    @@ -35,8 +35,8 @@

    Table of Contents

    Getting Started

    -

    See the Getting Started -section of the HBase Book. +

    See the Getting Started +section of the HBase Reference Guide.

    Example API Usage

    @@ -46,10 +46,9 @@

    Example API Usage

    Related Documentation

    diff --git a/hbase-server/src/main/resources/hbase-webapps/master/warnings.jsp b/hbase-server/src/main/resources/hbase-webapps/master/warnings.jsp index 6457e6a27121..f6e08cca8438 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/warnings.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/warnings.jsp @@ -35,7 +35,7 @@ <% } %> diff --git a/hbase-server/src/main/resources/hbase-webapps/regionserver/blockCacheBaseInfo.jsp b/hbase-server/src/main/resources/hbase-webapps/regionserver/blockCacheBaseInfo.jsp index d7d322d4754d..75a09e0c4070 100644 --- a/hbase-server/src/main/resources/hbase-webapps/regionserver/blockCacheBaseInfo.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/regionserver/blockCacheBaseInfo.jsp @@ -39,4 +39,4 @@ Block cache implementing class -

    See block cache in the HBase Reference Guide for help.

    +

    See block cache in the HBase Reference Guide for help.

    diff --git a/hbase-server/src/main/resources/hbase-webapps/regionserver/blockCacheLevel.jsp b/hbase-server/src/main/resources/hbase-webapps/regionserver/blockCacheLevel.jsp index 47cc6a5a9856..a59cf2854c81 100644 --- a/hbase-server/src/main/resources/hbase-webapps/regionserver/blockCacheLevel.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/regionserver/blockCacheLevel.jsp @@ -73,7 +73,7 @@ IOEngine <%= bucketCache.getIoEngine() %> - Supported IOEngine types: offheap, file, files, mmap or pmem. See hbase.bucketcache.ioengine. + Supported IOEngine types: offheap, file, files, mmap or pmem. See hbase.bucketcache.ioengine. <% } %> diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java index 6b003b18dff3..e6d1b42838ae 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java @@ -2979,10 +2979,15 @@ public void expireSession(ZKWatcher nodeZK) throws Exception { } /** - * Expire a ZooKeeper session as recommended in ZooKeeper documentation - * http://hbase.apache.org/book.html#trouble.zookeeper There are issues when doing this: [1] - * http://www.mail-archive.com/dev@zookeeper.apache.org/msg01942.html [2] - * https://issues.apache.org/jira/browse/ZOOKEEPER-1105 + * Expire a ZooKeeper session as recommended in ZooKeeper documentation Troubleshooting + * ZooKeeper + *

    + * There are issues when doing this: + *

      + *
    1. http://www.mail-archive.com/dev@zookeeper.apache.org/msg01942.html
    2. + *
    3. https://issues.apache.org/jira/browse/ZOOKEEPER-1105
    4. + *
    * @param nodeZK - the ZK watcher to expire * @param checkStatus - true to check if we can create a Table with the current configuration. */ diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java index cf37d304bfb6..28a61325b279 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java @@ -203,7 +203,7 @@ public class TestAccessController extends SecureTestUtil { private static User USER_GROUP_WRITE; // TODO: convert this test to cover the full matrix in - // https://hbase.apache.org/book/appendix_acl_matrix.html + // https://hbase.apache.org/docs/acl-matrix // creating all Scope x Permission combinations private static TableName TEST_TABLE2 = TableName.valueOf("testtable2"); diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController3.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController3.java index dc4cd24f82f9..d1a913c50ddc 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController3.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController3.java @@ -107,7 +107,7 @@ public class TestAccessController3 extends SecureTestUtil { private static User USER_GROUP_WRITE; // TODO: convert this test to cover the full matrix in - // https://hbase.apache.org/book/appendix_acl_matrix.html + // https://hbase.apache.org/docs/acl-matrix // creating all Scope x Permission combinations private static byte[] TEST_FAMILY = Bytes.toBytes("f1"); diff --git a/hbase-shell/src/main/ruby/shell.rb b/hbase-shell/src/main/ruby/shell.rb index 314c3692089a..4641c9d0d95f 100644 --- a/hbase-shell/src/main/ruby/shell.rb +++ b/hbase-shell/src/main/ruby/shell.rb @@ -220,7 +220,7 @@ def print_banner puts 'HBase Shell' puts 'Use "help" to get list of supported commands.' puts 'Use "exit" to quit this interactive shell.' - puts 'For Reference, please visit: http://hbase.apache.org/2.0/book.html#shell' + puts 'For Reference, please visit: https://hbase.apache.org/docs/shell' print 'Version ' command('version') puts @@ -303,7 +303,7 @@ def help_footer hbase> put 't1', "test\\xef\\xff", 'f1:', "\\x01\\x33\\x40" The HBase shell is the (J)Ruby IRB with the above HBase-specific commands added. -For more on the HBase Shell, see http://hbase.apache.org/book.html +For more on the HBase Shell, see https://hbase.apache.org/docs HERE end diff --git a/hbase-shell/src/main/ruby/shell/commands/update_all_config.rb b/hbase-shell/src/main/ruby/shell/commands/update_all_config.rb index a3907a17f0d6..12838e1ef7f4 100644 --- a/hbase-shell/src/main/ruby/shell/commands/update_all_config.rb +++ b/hbase-shell/src/main/ruby/shell/commands/update_all_config.rb @@ -23,7 +23,7 @@ class UpdateAllConfig < Command def help <<-EOF Reload a subset of configuration on all servers in the cluster. See -http://hbase.apache.org/book.html#dyn_config for more details. Here is how +https://hbase.apache.org/docs/configuration/dynamic for more details. Here is how you would run the command in the hbase shell: hbase> update_all_config EOF diff --git a/hbase-shell/src/main/ruby/shell/commands/update_config.rb b/hbase-shell/src/main/ruby/shell/commands/update_config.rb index e492db56f7c0..0756639db4c0 100644 --- a/hbase-shell/src/main/ruby/shell/commands/update_config.rb +++ b/hbase-shell/src/main/ruby/shell/commands/update_config.rb @@ -24,7 +24,7 @@ def help <<-EOF Reload a subset of configuration on server 'servername' where servername is host, port plus startcode. For example: host187.example.com,60020,1289493121758 -See http://hbase.apache.org/book.html#dyn_config for more details. Here is how +See https://hbase.apache.org/docs/configuration/dynamic for more details. Here is how you would run the command in the hbase shell: hbase> update_config 'servername' EOF diff --git a/hbase-shell/src/main/ruby/shell/commands/update_rsgroup_config.rb b/hbase-shell/src/main/ruby/shell/commands/update_rsgroup_config.rb index 4587a71ae89e..b29499944b62 100644 --- a/hbase-shell/src/main/ruby/shell/commands/update_rsgroup_config.rb +++ b/hbase-shell/src/main/ruby/shell/commands/update_rsgroup_config.rb @@ -23,7 +23,7 @@ class UpdateRsgroupConfig < Command def help <<-EOF Reload a subset of configuration on all servers in the rsgroup. See -http://hbase.apache.org/book.html#dyn_config for more details. Here is how +https://hbase.apache.org/docs/configuration/dynamic for more details. Here is how you would run the command in the hbase shell: hbase> update_rsgroup_config 'groupName' EOF diff --git a/hbase-shell/src/test/ruby/shell/shell_test.rb b/hbase-shell/src/test/ruby/shell/shell_test.rb index d6c60fd8d2a9..dfbadbeb65a0 100644 --- a/hbase-shell/src/test/ruby/shell/shell_test.rb +++ b/hbase-shell/src/test/ruby/shell/shell_test.rb @@ -136,7 +136,7 @@ class TestException < RuntimeError; end @shell.interactive = true output = capture_stdout { @shell.print_banner } @shell.interactive = false - link_regex = %r{For Reference, please visit: http://hbase.apache.org/2.0/book.html#shell} + link_regex = %r{For Reference, please visit: https://hbase.apache.org/docs/shell} assert_match(link_regex, output) end diff --git a/hbase-thrift/src/main/resources/hbase-webapps/thrift/thrift.jsp b/hbase-thrift/src/main/resources/hbase-webapps/thrift/thrift.jsp index d148df1f2e29..378ffa032f26 100644 --- a/hbase-thrift/src/main/resources/hbase-webapps/thrift/thrift.jsp +++ b/hbase-thrift/src/main/resources/hbase-webapps/thrift/thrift.jsp @@ -112,7 +112,7 @@ <% } %>