Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).

Expand Down
2 changes: 1 addition & 1 deletion bin/hbase
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion conf/hbase-env.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 3 additions & 2 deletions conf/hbase-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion conf/hbase-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
-->
<property>
<name>hbase.cluster.distributed</name>
Expand Down
3 changes: 2 additions & 1 deletion dev-support/create-release/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion dev-support/integration-test/integration-test.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion dev-support/integration-test/source-artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion dev-support/make_rc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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
* <a href="https://hbase.apache.org/docs/getting-started#quick-start---standalone-hbase">Quick
* Start - Standalone HBase</a>
*/
public final class HelloHBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
* <a href="https://hbase.apache.org/docs/getting-started#quick-start---standalone-hbase">Quick
* Start - Standalone HBase</a>
*/
public final class HelloHBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="http://hbase.apache.org/book.html#lzo.compression">LZO Compression</a> for
* how to enable it.
* See <a href="https://hbase.apache.org/docs/compression#install-hadoop-native-lzo-support">
* LZO Compression</a> for how to enable it.
* @param type Compression type setting.
* @return this (for chained invocation)
*/
Expand Down Expand Up @@ -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 <a href="http://hbase.apache.org/book.html#lzo.compression">LZO Compression</a> for
* how to enable it.
* See <a href="https://hbase.apache.org/docs/compression#install-hadoop-native-lzo-support">
* LZO Compression</a> for how to enable it.
* @param type Compression type setting.
* @return this (for chained invocation)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,11 @@ public static void main(String[] args) throws IOException {

<h2><a name="related" >Related Documentation</a></h2>
<ul>
<li><a href="http://hbase.org/">HBase Home Page</a>
<li><a href="http://hadoop.apache.org/">Hadoop Home Page</a>
<li><a href="https://hbase.apache.org/">HBase Home Page</a>
<li><a href="https://hadoop.apache.org/">Hadoop Home Page</a>
</ul>
<p>See also the section in the HBase Reference Guide where it discusses
<a href="http://hbase.apache.org/book.html#client">HBase Client</a>. It
<a href="https://hbase.apache.org/docs/architecture/client">HBase Client</a>. It
has section on how to access HBase from inside your multithreaded environment
how to control resources consumed client-side, etc.</p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
* </pre>
*
* This class will be internal used only from 2.2.0 version, and will transparently work for
* kerberized applications. For more, please refer
* <a href="http://hbase.apache.org/book.html#hbase.secure.configuration">Client-side Configuration
* for Secure Operation</a>
* kerberized applications. For more, please refer <a
* href="https://hbase.apache.org/docs/security/client-access>Secure Client Access to Apache
* HBase</a>
* @deprecated since 2.2.0, to be marked as
* {@link org.apache.yetus.audience.InterfaceAudience.Private} in 4.0.0.
* @see <a href="https://issues.apache.org/jira/browse/HBASE-20886">HBASE-20886</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 4 additions & 2 deletions hbase-common/src/main/resources/hbase-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</description>
</property>
<property>
Expand Down Expand Up @@ -1100,7 +1101,8 @@ possible configurations would overwhelm and obscure the important.
<name>hfile.format.version</name>
<value>3</value>
<description>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'.
</description>
</property>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Provides HBase <a href="https://cwiki.apache.org/confluence/display/HADOOP2/HadoopMapReduce">MapReduce</a>
Input/OutputFormats, a table indexing MapReduce job, and utility methods.

<p>See <a href="http://hbase.apache.org/book.html#mapreduce">HBase and MapReduce</a>
<p>See <a href="https://hbase.apache.org/docs/mapreduce">HBase and MapReduce</a>
in the HBase Reference Guide for mapreduce over hbase documentation.
*/
package org.apache.hadoop.hbase.mapred;
Original file line number Diff line number Diff line change
Expand Up @@ -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
* <a href="http://hbase.apache.org/book.html#arch.bulk.load">Bulk Load</a>.
* <a href="https://hbase.apache.org/docs/architecture/bulk-loading">Bulk Loading</a>.
* </p>
* @param <KEY> The type of the key.
* @param <VALUE> The type of the value.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Provides HBase <a href="https://cwiki.apache.org/confluence/display/HADOOP2/HadoopMapReduce">MapReduce</a>
Input/OutputFormats, a table indexing MapReduce job, and utility methods.

<p>See <a href="http://hbase.apache.org/book.html#mapreduce">HBase and MapReduce</a>
<p>See <a href="https://hbase.apache.org/docs/mapreduce">HBase and MapReduce</a>
in the HBase Reference Guide for mapreduce over hbase documentation.
*/
package org.apache.hadoop.hbase.mapreduce;
2 changes: 1 addition & 1 deletion hbase-metrics-api/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<h1>HBase REST</h1>
This package provides a RESTful Web service front end for HBase.
<p>
The documentation that used to live in this file has moved to the <a href="http://hbase.apache.org/book.html#_rest">HBase Reference Guide</a>.
The documentation that used to live in this file has moved to the <a href="https://hbase.apache.org/docs/external-apis/#rest">HBase Reference Guide</a>.
<p>

</body>
Expand Down
2 changes: 1 addition & 1 deletion hbase-rest/src/main/resources/hbase-webapps/rest/rest.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<div class="row">

<section>
<a href="http://hbase.apache.org/book.html#_rest">Apache HBase documentation about REST</a>
<a href="https://hbase.apache.org/docs/external-apis#rest">Apache HBase documentation about REST</a>
</section>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
* <a href="https://hbase.apache.org/docs/hfile-format/">HFile Format</a> in the reference guide.
*/
private long loadOnOpenDataOffset;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@
*
* <h1>Which BlockCache should I use?</h1>
* 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
* <a href="http://www.n10k.com/blog/blockcache-101/">BlockCache 101</a> for some numbers.
*
* <h1>Enabling {@link org.apache.hadoop.hbase.io.hfile.bucket.BucketCache}</h1>
* See the HBase Reference Guide <a href="http://hbase.apache.org/book.html#enable.bucketcache">Enable BucketCache</a>.
* See the HBase Reference Guide <a
* href="https://hbase.apache.org/docs/architecture/regionserver#how-to-enable-bucketcache">
* Enable BucketCache</a>.
*
*/
package org.apache.hadoop.hbase.io.hfile;
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ private void checkUnsupportedProcedure(Map<Class<?>, List<Procedure<?>>> 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");
}
}
Expand All @@ -158,7 +158,8 @@ private void checkUnsupportedProcedure(Map<Class<?>, List<Procedure<?>>> 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");
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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-managementk");
}
return (regionSplitLimit > server.getNumberOfOnlineRegions()
// Do not attempt to split secondary region replicas, as this is not allowed and our request
Expand Down
Loading
Loading