@@ -453,6 +453,7 @@ expressly advises downstream users to avoid running on top of this release. For
453
453
the link:https://s.apache.org/hadoop-3.1.0-announcement[release announcement for Hadoop 3.1.0].
454
454
====
455
455
456
+ [[note_replace_hadoop]]
456
457
.Replace the Hadoop Bundled With HBase!
457
458
[NOTE]
458
459
====
@@ -707,6 +708,27 @@ An example of such an HDFS client configuration is `dfs.replication`.
707
708
If for example, you want to run with a replication factor of 5, HBase will create files with the
708
709
default of 3 unless you do the above to make the configuration available to HBase.
709
710
711
+ [[byo-hadoop-assembly]]
712
+ === Choosing between the Classic Package and the BYO Hadoop Package
713
+
714
+ Starting with HBase 3.0, HBase includes two binary packages. The classic package
715
+ includes both the HBase and Hadoop components, while the Hadoop-less "Bring Your Own Hadoop"
716
+ package omits the Hadoop components, and uses the files from an existing Hadoop installation.
717
+ The classic binary package filename is named `hbase-<version>-bin.tar.gz` i.e.
718
+ _hbase-3.0.0-bin.tar.gz_ , while the Hadoop-less package is
719
+ `hbase-byo-hadoop-<version>-bin.tar.gz` i.e. _hbase-byo-hadoop-3.0.0-bin.tar.gz_.
720
+
721
+ If the cluster nodes already have Hadoop installed, you can use the Hadoop-less package.
722
+ In this case you need to make sure that the `HADOOP_HOME` environment variable is set and
723
+ points to the Hadoop installation.
724
+ The easiest way to ensure this is to set it in _hbase-env.sh_. You still need to make sure that
725
+ the Hadoop configuration files are present on the HBase classpath, as described above.
726
+
727
+ .Advantages of the BYO Hadoop package
728
+ * There is no need to replace the Hadoop libraries, as noted <<note_replace_hadoop,above>>.
729
+ * It is easier to upgrade Hadoop and HBase independently (as long as compatible versions are used).
730
+ * Both the package and installed size are about 100 MB smaller.
731
+
710
732
[[confirm]]
711
733
== Running and Confirming Your Installation
712
734
0 commit comments