You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by wc...@apache.org on 2019/06/21 10:56:55 UTC

[hbase-filesystem] branch master updated: HBASE-22583 [hbase-filesystem] Update readme to describe compatible hbase versions

This is an automated email from the ASF dual-hosted git repository.

wchevreuil pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase-filesystem.git


The following commit(s) were added to refs/heads/master by this push:
     new 6fa0ad9  HBASE-22583 [hbase-filesystem] Update readme to describe compatible hbase versions
6fa0ad9 is described below

commit 6fa0ad90c8648f799f4e54ad87c96140c6e663ef
Author: Wellington Chevreuil <wc...@apache.org>
AuthorDate: Fri Jun 21 11:49:37 2019 +0100

    HBASE-22583 [hbase-filesystem] Update readme to describe compatible hbase versions
    
    Signed-off-by: Andrew Putell <ap...@apache.org>
---
 hbase-oss/README.md | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/hbase-oss/README.md b/hbase-oss/README.md
index 4755143..a487485 100644
--- a/hbase-oss/README.md
+++ b/hbase-oss/README.md
@@ -134,7 +134,9 @@ other storage in src/test/resources/core-site.xml.
 Any required credentials or other individal configuration should be set in
 src/test/resources/auth-keys.xml, which should be ignored by source control.
 
-## Hadoop Versions
+## Dependency Versions
+
+### 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*.
@@ -145,6 +147,18 @@ 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
 the build.
 
-    mvn verify                    # Defaults to Hadoop 3
-    mvn verify -Dhadoop.profile=3 # Activate Hadoop 3
-    mvn verify -Dhadoop.profile=2 # Activate Hadoop 2
+### 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`.
+
+### 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
+