HBASE-27076. [HBOSS] compile against hadoop 3.3.2+ only. (#34)
authorSteve Loughran <stevel@cloudera.com>
Wed, 15 Jun 2022 20:55:13 +0000 (21:55 +0100)
committerGitHub <noreply@github.com>
Wed, 15 Jun 2022 20:55:13 +0000 (13:55 -0700)
commit03af0bfc7d0884975bdb1cf47e67972f2374acf4
treedebc1bbfe0a9ab72171ce86d79e1988170122eec
parent8ba3a9138d0d9fee8cba7a21c8ee542eb2ffe490
HBASE-27076. [HBOSS] compile against hadoop 3.3.2+ only. (#34)

Cut out all hadoop 3.2 support from files/build and move the
s3 client binding code back into hadoop-testutils.

The other hadoop profiles and the java test code to query/act
on different versions are retained, so that if a future version
ever needs to be dynamic again, the code is ready.

* removes the hadoop 3.2 profile; retains the 3.3 and default ones
* hadoop.version is set to 3.3.2.
* version checking only handles HadoopVersion = 3.3
* Hadoop33EmbeddedS3ClientFactory is in hadoop-testutils source tree
* the hadoop3-3-testutils and hadoop3-2-testutils modules are gone
* TestUtils.renameToExistingDestinationSupported() is always true; uses
  in assumeTrue() calls cut
* cut hbase-oss/src/test/resources/contract/hadoop-3.2/s3a.xml;
  choice of contract profile is still dynamic.
* travis to only check 3.3 profile
* readme updated

Change-Id: Idc9181537443904004f2e79baefe7a2c0fe67902

Signed-off-by: Andrew Purtell <apurtell@apache.org>
.travis.yml
hadoop-testutils/src/main/java/org/apache/hadoop/hbase/oss/Hadoop33EmbeddedS3ClientFactory.java [moved from hadoop3-3-testutils/src/main/java/org/apache/hadoop/hbase/oss/Hadoop33EmbeddedS3ClientFactory.java with 99% similarity]
hadoop3-2-testutils/pom.xml [deleted file]
hadoop3-2-testutils/src/main/java/org/apache/hadoop/hbase/oss/Hadoop32EmbeddedS3ClientFactory.java [deleted file]
hadoop3-3-testutils/pom.xml [deleted file]
hbase-oss/README.md
hbase-oss/pom.xml
hbase-oss/src/test/java/org/apache/hadoop/hbase/oss/TestUtils.java
hbase-oss/src/test/java/org/apache/hadoop/hbase/oss/contract/TestHBOSSContract.java
hbase-oss/src/test/resources/contract/hadoop-3.2/s3a.xml [deleted file]
pom.xml