Skip to content
Permalink
Browse files
HBASE-26513 [HBOSS] Update readme to reflect dependencies change intr…
…oduced by HBASE-25900 (#31)

Signed-off-by: Josh Elser <elserj@apache.org>
  • Loading branch information
wchevreuil committed Dec 10, 2021
1 parent 21e1e92 commit 9742259f3e665c7d5989ccd8e9ef73139e16ad9b
Showing 2 changed files with 11 additions and 12 deletions.
@@ -23,7 +23,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>hadoop3-2-testutils</artifactId>
<name>Test utility classes for Hadoop 3.1.x and 3.2.x</name>
<name>Test utility classes for Hadoop 3.2.x</name>
<packaging>jar</packaging>

<dependencies>
@@ -139,26 +139,25 @@ src/test/resources/auth-keys.xml, which should be ignored by source control.
### Hadoop Versions

HBoss mainly depends on *org.apache.hadoop.fs.FileSystem* contract, and
current HBoss version is compatible with Hadoop releases *2.9.2* and *3.2.0*.
current HBoss version is compatible with Hadoop releases *3.2.2* and *3.3.1*.

There are Maven profiles defined for Hadoop 2 and Hadoop 3 major versions.
There are Maven profiles defined for the above mentioned Hadoop 3 versions.
Support for Hadoop 2 has been dropped as off Oct 2021.
These are activated via the property `hadoop.profile`. These profiles choose
a specific Hadoop release in that major line, defaulting to versions as defined
in `hadoop2.version` and `hadoop3.version`. By default, Hadoop 3 is used by
in `hadoop32.version` and `hadoop33.version`. By default, Hadoop 3.3 is used by
the build.

### HBase Versions
HBoss testing suite relies on HBase Zookeeper testing utility class, which has
been changing over different HBase releases. Current HBoss version is guaranteed
to compile with HBase *1.4.10* and *2.1.4*. Default build HBase version chosen
is *2.1.4*. To compile with HBase *1.4.10*, `hbase.profile` needs to be set to `1`.
to compile with HBase *2.3.6*. Support for different HBase versions,
including HBase 1 through profiles has been dropped as off Oct 2021.

### Examples of different build profile usage/combinations, and related dependency versions picked:

mvn verify # Defaults to Hadoop 3, HBase 2
mvn verify -Dhadoop.profile=3 # Activate Hadoop 3, HBase 2 used as default
mvn verify -Dhadoop.profile=2 # Activate Hadoop 2, HBase 2 used as default
mvn verify -Dhbase.profile=1 # Activate HBase 1, Hadoop 3 used as default
mvn verify -Dhadoop.profile=2 -Dhbase.profile=1 # Activate Hadoop 2 and HBase 1
mvn verify -Dhadoop.profile=3 -Dhbase.profile=1 # Activate Hadoop 3 and HBase 1
mvn verify # Defaults to Hadoop 3.3.1, HBase 2.3.6
mvn verify -Dhadoop.profile=3.2 # Activates Hadoop 3.2.2, HBase 2.3.6
mvn verify -Dhadoop.profile=3.3 # Activates Hadoop 3.3.1, HBase 2.3.6


0 comments on commit 9742259

Please sign in to comment.