From 9742259f3e665c7d5989ccd8e9ef73139e16ad9b Mon Sep 17 00:00:00 2001 From: Wellington Ramos Chevreuil Date: Fri, 10 Dec 2021 00:04:55 +0000 Subject: [PATCH] HBASE-26513 [HBOSS] Update readme to reflect dependencies change introduced by HBASE-25900 (#31) Signed-off-by: Josh Elser --- hadoop3-2-testutils/pom.xml | 2 +- hbase-oss/README.md | 21 ++++++++++----------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/hadoop3-2-testutils/pom.xml b/hadoop3-2-testutils/pom.xml index 4911f1a..96b14f0 100644 --- a/hadoop3-2-testutils/pom.xml +++ b/hadoop3-2-testutils/pom.xml @@ -23,7 +23,7 @@ ../pom.xml hadoop3-2-testutils - Test utility classes for Hadoop 3.1.x and 3.2.x + Test utility classes for Hadoop 3.2.x jar diff --git a/hbase-oss/README.md b/hbase-oss/README.md index a487485..9beb529 100644 --- a/hbase-oss/README.md +++ b/hbase-oss/README.md @@ -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 +