diff --git a/src/main/docbkx/upgrading.xml b/src/main/docbkx/upgrading.xml index 5f84364d70a..7fc1bd8d876 100644 --- a/src/main/docbkx/upgrading.xml +++ b/src/main/docbkx/upgrading.xml @@ -76,22 +76,39 @@ compatibility between versions also mean binary compatibility? discussion on the hbaes dev mailing list. -
- Rolling Upgrade between versions/Binary compatibility - Unless otherwise specified, HBase point versions are binary compatible. you can do - a rolling upgrade between hbase point versions; for example, you can go to 0.94.6 - from 0.94.5 by doing a rolling upgrade across the cluster replacing the 0.94.5 - binary with a 0.94.6 binary. -
-
+
<firstterm>Rolling Upgrades</firstterm> A rolling upgrade is the process by which you update the servers - in your cluster a server at a time. Coarsely, you do a graceful stop of the server - update the software and then restart. You do this for each server in the cluster. + in your cluster a server at a time. You can rolling upgrade across HBase versions + if they are binary or wire compatible. + See for more on what this means. + Coarsely, a rolling upgrade is a graceful stop each server, + update the software, and then restart. You do this for each server in the cluster. Usually you upgrade the Master first and then the regionservers. - See for tools that can help use the rolling upgrade process: - e.g. install the new software and configs and then do a rolling restart to come up on it. + See for tools that can help use the rolling upgrade process. + + For example, in the below, hbase was symlinked to the actual hbase install. + On upgrade, before running a rolling restart over the cluser, we changed the symlink + to point at the new HBase software version and then ran + $ HADOOP_HOME=~/hadoop-2.6.0-CRC-SNAPSHOT ~/hbase/bin/rolling-restart.sh --config ~/conf_hbase + The rolling-restart script will first gracefully stop and restart the master, and then + each of the regionservers in turn. Because the symlink was changed, on restart the + server will come up using the new hbase version. Check logs for errors as the + rolling upgrade proceeds. + +
+ Rolling Upgrade between versions that are Binary/Wire compatibile + Unless otherwise specified, HBase point versions are binary compatible. You can do + a between hbase point versions. + For example, you can go to 0.94.6 from 0.94.5 by doing a rolling upgrade + across the cluster replacing the 0.94.5 binary with a 0.94.6 binary. + In the minor version-particular sections below, we call out where the versions + are wire/protocol compatible and in this case, it is also possible to do a + . For example, in + , we + state that it is possible to do a rolling upgrade between hbase-0.98.x and hbase-1.0.0. +
@@ -107,6 +124,16 @@
ZooKeeper 3.4 is required in HBase 1.0.0 See .
+
HBase Default Ports Changed + The ports used by HBase changed. The used to be in the 600XX range. In + hbase-1.0.0 they have been moved up out of the ephemeral port range and are + 160XX instead (Master web UI was 60010 and is now 16030; the RegionServer + web UI was 60030 and is now 16030, etc). If you want to keep the old port + locations, copy the port setting configs from hbase-default.xml + into hbase-site.xml, change them back to the old values + from hbase-0.98.x era, and ensure you've distributed your configurations before + you restart. +
hbase.bucketcache.percentage.in.combinedcache configuration has been REMOVED You may have made use of this configuration if you are using BucketCache. @@ -135,7 +162,9 @@ HBASE-11164 Document and test rolling updates from 0.98 -> 1.0 for the why. - TODO + There are no known issues running a from hbase-0.98.x to hbase-1.0.0. + +
Upgrading to 1.0 from 0.94