You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2021/01/21 13:22:15 UTC

[phoenix] branch master updated: PHOENIX-6333 Hbase versions older than 2.4.0 are incompatible with Hadoop 3.1.4

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

stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/master by this push:
     new 55f1362  PHOENIX-6333 Hbase versions older than 2.4.0 are incompatible with Hadoop 3.1.4
55f1362 is described below

commit 55f1362fc52eeabed139728dae153518883743a5
Author: Istvan Toth <st...@apache.org>
AuthorDate: Thu Jan 21 08:00:02 2021 +0100

    PHOENIX-6333 Hbase versions older than 2.4.0 are incompatible with Hadoop 3.1.4
---
 BUILDING.md | 2 +-
 Jenkinsfile | 5 -----
 pom.xml     | 5 +++++
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/BUILDING.md b/BUILDING.md
index 707b467..e7a1f7d 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -32,7 +32,7 @@ HBase 2 and Hadoop 3
 Phoenix 5.x requires Hadoop 3. While HBase 2.x is compatible with Hadoop 3, the public Maven Hbase
 artifacts are built with Hadoop 2, and are not.
 
-For this reason, when building Phoenix with an Hbase version later than 2.2.4, you need to rebuild
+For this reason, when building Phoenix, you need to rebuild
 HBase with Hadoop 3, and install it to the local maven repo of the build host.
 
 `$ wget https://downloads.apache.org/hbase/2.2.5/hbase-2.2.5-src.tar.gz`
diff --git a/Jenkinsfile b/Jenkinsfile
index 1b4e1f5..5e0a142 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -56,11 +56,6 @@ pipeline {
                         environment {
                             HBASE_VERSION = sh(returnStdout: true, script: "mvn help:evaluate -Dhbase.profile=${HBASE_PROFILE} -Dartifact=org.apache.phoenix:phoenix-core -Dexpression=hbase.version -q -DforceStdout").trim()
                         }
-                        when {
-                            not {
-                                environment name: 'HBASE_PROFILE', value: '2.1'
-                            }
-                        }
                         steps {
                             sh "dev/rebuild_hbase.sh ${HBASE_VERSION}"
                         }
diff --git a/pom.xml b/pom.xml
index 8162838..b17cc00 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1533,6 +1533,8 @@
       </properties>
     </profile>
     <profile>
+      <!-- PHOENIX-5993 may work with the public HBase artifacts, as the test don't trip over
+      anything but it should be rebuilt like 2.2+ -->
       <id>phoenix-hbase-compat-2.1.6</id>
       <activation>
         <activeByDefault>true</activeByDefault>
@@ -1545,6 +1547,7 @@
         <hbase.profile>2.1</hbase.profile>
         <hbase.compat.version>2.1.6</hbase.compat.version>
         <hbase.version>${hbase-2.1.runtime.version}</hbase.version>
+        <hadoop.version>3.0.3</hadoop.version>
       </properties>
     </profile>
     <profile>
@@ -1560,6 +1563,7 @@
         <hbase.profile>2.2</hbase.profile>
         <hbase.compat.version>2.2.5</hbase.compat.version>
         <hbase.version>${hbase-2.2.runtime.version}</hbase.version>
+        <hadoop.version>3.1.3</hadoop.version>
       </properties>
     </profile>
     <profile>
@@ -1577,6 +1581,7 @@
         <hbase.version>${hbase-2.3.runtime.version}</hbase.version>
         <hbase.thirdparty.version>3.3.0</hbase.thirdparty.version>
         <zookeeper.version>3.5.7</zookeeper.version>
+        <hadoop.version>3.1.3</hadoop.version>
       </properties>
     </profile>
     <profile>