This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch 4.x in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/4.x by this push: new dd93e62 PHOENIX-6037 Change default HBase profile to 1.3 in 4.x dd93e62 is described below commit dd93e6216d67db3a48f67049f9c3ef145aacc884 Author: Istvan Toth <st...@apache.org> AuthorDate: Thu Jul 23 11:08:16 2020 +0200 PHOENIX-6037 Change default HBase profile to 1.3 in 4.x Closes #843 --- BUILDING.md | 11 +++++++---- pom.xml | 65 ++++++++++++++++++++++++++++++++----------------------------- 2 files changed, 41 insertions(+), 35 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 8aa8df7..8a7d531 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -50,14 +50,17 @@ As Phoenix uses *limited public* HBase APIs, which sometimes change even within Phoenix may not build or work with older releases of HBase, or ones that were released after Phoenix, even within the same HBase minor release. -By default, Phoenix will be built for the latest supported HBase 1.x release. You can specify the -targeted HBase minor release by setting the `hbase.profile` system property for maven. +By default, Phoenix will be built for the latest known patch level of the earliest HBase 1.x +minor release that Phoenix supports. + +You can specify the targeted HBase minor release by setting the `hbase.profile` system property for +maven. You can also specify the exact HBase release to build Phoenix with by additionally setting the `hbase.version` system property. - * `mvn clean install` will build the for the latest known supported HBase 1.x relese - * `mvn clean install -Dhbase.profile=1.4` will use the latest known supported HBase 1.1 release + * `mvn clean install` will use the latest known patch release of the the earliest supported HBase 1 minor relese + * `mvn clean install -Dhbase.profile=1.4` will use the latest known patch release of HBase 1.4 * `mvn clean install -Dhbase.profile=1.4 -Dhbase.version=1.4.3` will build with HBase 1.4.3 Phoenix verifies the specified `hbase.profile` and `hbase.version` properties, and will reject diff --git a/pom.xml b/pom.xml index 08c4959..5041a2b 100644 --- a/pom.xml +++ b/pom.xml @@ -1141,7 +1141,7 @@ </profile> <!-- See BUILDING.md for profile selection --> <profile> - <id>phoenix-hbase-compat-1.5.0-default</id> + <id>phoenix-hbase-compat-1.3.0-default</id> <activation> <property> <name>!hbase.profile</name> @@ -1150,97 +1150,100 @@ <dependencies> <dependency> <groupId>org.apache.phoenix</groupId> - <artifactId>phoenix-hbase-compat-1.5.0</artifactId> + <artifactId>phoenix-hbase-compat-1.3.0</artifactId> </dependency> </dependencies> <properties> - <hbase.profile>1.5</hbase.profile> - <hbase.compat.version>1.5.0</hbase.compat.version> - <hbase.version>1.5.0</hbase.version> + <hbase.profile>1.3</hbase.profile> + <hbase.compat.version>1.3.0</hbase.compat.version> + <hbase.version>1.3.5</hbase.version> </properties> </profile> <profile> - <id>phoenix-hbase-compat-1.6.0</id> + <id>phoenix-hbase-compat-1.3.0</id> <activation> <property> <name>hbase.profile</name> - <value>1.6</value> + <value>1.3</value> </property> </activation> <dependencies> <dependency> <groupId>org.apache.phoenix</groupId> - <artifactId>phoenix-hbase-compat-1.5.0</artifactId> + <artifactId>phoenix-hbase-compat-1.3.0</artifactId> </dependency> </dependencies> <properties> - <!-- We are using the 1.5 compat module for 1.6 --> - <hbase.profile>1.6</hbase.profile> - <hadoop-two.version>2.8.5</hadoop-two.version> - <hbase.compat.version>1.5.0</hbase.compat.version> - <hbase.version>1.6.0</hbase.version> + <hbase.profile>1.3</hbase.profile> + <hbase.compat.version>1.3.0</hbase.compat.version> + <hbase.version>1.3.5</hbase.version> </properties> </profile> <profile> - <id>phoenix-hbase-compat-1.5.0</id> + <id>phoenix-hbase-compat-1.4.0</id> <activation> <property> <name>hbase.profile</name> - <value>1.5</value> + <value>1.4</value> </property> </activation> <dependencies> <dependency> <groupId>org.apache.phoenix</groupId> - <artifactId>phoenix-hbase-compat-1.5.0</artifactId> + <artifactId>phoenix-hbase-compat-1.4.0</artifactId> </dependency> </dependencies> <properties> - <hbase.profile>1.5</hbase.profile> - <hbase.compat.version>1.5.0</hbase.compat.version> - <hbase.version>1.5.0</hbase.version> + <hbase.profile>1.4</hbase.profile> + <hbase.compat.version>1.4.0</hbase.compat.version> + <hbase.version>1.4.10</hbase.version> </properties> </profile> <profile> - <id>phoenix-hbase-compat-1.4.0</id> + <id>phoenix-hbase-compat-1.5.0</id> <activation> <property> <name>hbase.profile</name> - <value>1.4</value> + <value>1.5</value> </property> </activation> <dependencies> <dependency> <groupId>org.apache.phoenix</groupId> - <artifactId>phoenix-hbase-compat-1.4.0</artifactId> + <artifactId>phoenix-hbase-compat-1.5.0</artifactId> </dependency> </dependencies> <properties> - <hbase.profile>1.4</hbase.profile> - <hbase.compat.version>1.4.0</hbase.compat.version> - <hbase.version>1.4.10</hbase.version> + <hbase.profile>1.5</hbase.profile> + <hbase.compat.version>1.5.0</hbase.compat.version> + <hbase.version>1.5.0</hbase.version> </properties> </profile> <profile> - <id>phoenix-hbase-compat-1.3.0</id> + <id>phoenix-hbase-compat-1.6.0</id> <activation> <property> <name>hbase.profile</name> - <value>1.3</value> + <value>1.6</value> </property> </activation> <dependencies> <dependency> <groupId>org.apache.phoenix</groupId> - <artifactId>phoenix-hbase-compat-1.3.0</artifactId> + <artifactId>phoenix-hbase-compat-1.5.0</artifactId> </dependency> </dependencies> <properties> - <hbase.profile>1.3</hbase.profile> - <hbase.compat.version>1.3.0</hbase.compat.version> - <hbase.version>1.3.5</hbase.version> + <hbase.profile>1.6</hbase.profile> + <hadoop-two.version>2.8.5</hadoop-two.version> + <!-- We are using the 1.5 compat module for 1.6 --> + <hbase.compat.version>1.5.0</hbase.compat.version> + <hbase.version>1.6.0</hbase.version> </properties> </profile> + + + <profile> <id>codecoverage</id> <activation>