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 {

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 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.

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 080f6d1e1396..debfc09442a1 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 @@ -224,7 +224,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 d3337d24712c..e43f839bff08 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 @@ -69,7 +69,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 4ac1d7c6396f..bd4cab01843a 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/BulkLoadHFilesTool.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java index 4d6f57e22edc..6e3f6f9c4f9d 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java @@ -1160,7 +1160,7 @@ private void usage() { + "=yes to ignore unmatched column families.\n" + " -loadTable for when directory of files to load has a depth of 3; target table must " + "exist;\n" + " must be last of the options on command line.\n" - + "See http://hbase.apache.org/book.html#arch.bulk.load.complete.strays for " + + "See https://hbase.apache.org/docs/architecture/bulk-loading#adopting-stray-data for " + "documentation.\n"); } 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 f21edd176d4e..8d389b7238cd 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 3b446826b775..d504571ea900 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 @@ -438,7 +438,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 b0044c97f45d..217cf5b91533 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/warnings.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/warnings.jsp @@ -36,7 +36,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/HBaseTestingUtil.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java index be924f23d169..84c992eed6f4 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java @@ -2477,8 +2477,9 @@ public void expireSession(ZKWatcher nodeZK) throws Exception { } /** - * Expire a ZooKeeper session as recommended in ZooKeeper documentation - * http://hbase.apache.org/book.html#trouble.zookeeper + * Expire a ZooKeeper session as recommended in ZooKeeper documentation Troubleshooting + * ZooKeeper *

    * There are issues when doing this: *

      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 cc895d21ac61..7af3e6f05c58 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 @@ -207,7 +207,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 222a73b83565..1dfaef86e5d9 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 @@ -108,7 +108,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 07da8a48dbd1..81baaf76d306 100644 --- a/hbase-shell/src/main/ruby/shell.rb +++ b/hbase-shell/src/main/ruby/shell.rb @@ -215,7 +215,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/book.html#shell' + puts 'For Reference, please visit: https://hbase.apache.org/docs/shell' print 'Version ' command('version') puts @@ -298,7 +298,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 4f89fa91f732..43fba022b7a5 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/general_test_cluster.rb b/hbase-shell/src/test/ruby/shell/general_test_cluster.rb index e1461fd935bd..dfbadbeb65a0 100644 --- a/hbase-shell/src/test/ruby/shell/general_test_cluster.rb +++ b/hbase-shell/src/test/ruby/shell/general_test_cluster.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/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-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java b/hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java index 9af5392b7809..87abc4f2e4b1 100644 --- a/hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java +++ b/hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java @@ -2786,10 +2786,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-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 @@