HBASE-25900 Hadoop 3.2 and 3.3 support (#25)
authorJosh Elser <elserj@apache.org>
Tue, 5 Oct 2021 16:51:58 +0000 (12:51 -0400)
committerGitHub <noreply@github.com>
Tue, 5 Oct 2021 16:51:58 +0000 (12:51 -0400)
commit16693581c356c695f91bbe45a28bcb62789ca4c0
tree5b647e04e4706d6c75c88468cf12607b399a00c5
parent01d975d3aad364f6b56f332a7ed3d8d44a41b86a
HBASE-25900 Hadoop 3.2 and 3.3 support (#25)

Build on top of SteveL's original changes. Added indirection so
that the correct S3ClientFactory can be included at test-time. Provides
s3a.xml contracts for each version to reflect what actually works. Skips
the new tests which we know would fail on the older <Hadoop3.3 releases.

Co-authored-by: Steve Loughran <stevel@apache.org>
Co-authored-by: Peter Somogyi <psomogyi@cloudera.com>
Signed-off-by: Peter Somogyi <psomogyi@cloudera.com>
16 files changed:
hadoop-testutils/pom.xml [new file with mode: 0644]
hadoop-testutils/src/main/java/org/apache/hadoop/hbase/oss/EmbeddedS3.java [moved from hbase-oss/src/test/java/org/apache/hadoop/hbase/oss/EmbeddedS3.java with 82% similarity]
hadoop3-2-testutils/pom.xml [new file with mode: 0644]
hadoop3-2-testutils/src/main/java/org/apache/hadoop/hbase/oss/Hadoop32EmbeddedS3ClientFactory.java [new file with mode: 0644]
hadoop3-3-testutils/pom.xml [new file with mode: 0644]
hadoop3-3-testutils/src/main/java/org/apache/hadoop/hbase/oss/Hadoop33EmbeddedS3ClientFactory.java [new file with mode: 0644]
hbase-oss/pom.xml
hbase-oss/src/test/java/org/apache/hadoop/hbase/oss/HBaseObjectStoreSemanticsTest.java
hbase-oss/src/test/java/org/apache/hadoop/hbase/oss/TestUtils.java
hbase-oss/src/test/java/org/apache/hadoop/hbase/oss/contract/HBOSSContract.java
hbase-oss/src/test/java/org/apache/hadoop/hbase/oss/contract/TestHBOSSContract.java
hbase-oss/src/test/java/org/apache/hadoop/hbase/oss/contract/TestHBOSSContractCreate.java
hbase-oss/src/test/java/org/apache/hadoop/hbase/oss/contract/TestHBOSSContractRenameS3A.java
hbase-oss/src/test/resources/contract/hadoop-3.2/s3a.xml [moved from hbase-oss/src/test/resources/contract/s3a.xml with 100% similarity]
hbase-oss/src/test/resources/contract/hadoop-3.3/s3a.xml [new file with mode: 0644]
pom.xml