diff --git a/bigtop-packages/src/common/hadoop/patch11-HADOOP-19123-HADOOP-19114.diff b/bigtop-packages/src/common/hadoop/patch11-HADOOP-19123-HADOOP-19114.diff new file mode 100644 index 0000000000..a3151f204f --- /dev/null +++ b/bigtop-packages/src/common/hadoop/patch11-HADOOP-19123-HADOOP-19114.diff @@ -0,0 +1,59 @@ +diff --git a/LICENSE-binary b/LICENSE-binary +index 834eeb2625b5..02dd142cc14e 100644 +--- a/LICENSE-binary ++++ b/LICENSE-binary +@@ -306,8 +306,8 @@ net.java.dev.jna:jna:5.2.0 + net.minidev:accessors-smart:2.4.7 + org.apache.avro:avro:1.7.7 + org.apache.commons:commons-collections4:4.2 +-org.apache.commons:commons-compress:1.21 +-org.apache.commons:commons-configuration2:2.8.0 ++org.apache.commons:commons-compress:1.26.1 ++org.apache.commons:commons-configuration2:2.10.1 + org.apache.commons:commons-csv:1.9.0 + org.apache.commons:commons-digester:1.8.1 + org.apache.commons:commons-lang3:3.12.0 +diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/src/main/java/org/apache/hadoop/mapred/uploader/FrameworkUploader.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/src/main/java/org/apache/hadoop/mapred/uploader/FrameworkUploader.java +index 8509e829f489..baca9ac14513 100644 +--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/src/main/java/org/apache/hadoop/mapred/uploader/FrameworkUploader.java ++++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/src/main/java/org/apache/hadoop/mapred/uploader/FrameworkUploader.java +@@ -22,7 +22,7 @@ + import org.apache.commons.cli.HelpFormatter; + import org.apache.commons.cli.OptionBuilder; + import org.apache.commons.cli.Options; +-import org.apache.commons.compress.archivers.ArchiveEntry; ++import org.apache.commons.compress.archivers.tar.TarArchiveEntry; + import org.apache.commons.compress.archivers.tar.TarArchiveOutputStream; + import org.apache.hadoop.conf.Configuration; + import org.apache.hadoop.fs.BlockLocation; +@@ -335,7 +335,7 @@ void buildPackage() + LOG.info("Adding " + fullPath); + File file = new File(fullPath); + try (FileInputStream inputStream = new FileInputStream(file)) { +- ArchiveEntry entry = out.createArchiveEntry(file, file.getName()); ++ TarArchiveEntry entry = out.createArchiveEntry(file, file.getName()); + out.putArchiveEntry(entry); + IOUtils.copyBytes(inputStream, out, 1024 * 1024); + out.closeArchiveEntry(); +diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml +index f1ac43ed5b38..732a47f5bcb7 100644 +--- a/hadoop-project/pom.xml ++++ b/hadoop-project/pom.xml +@@ -119,7 +119,7 @@ + 1.2 + 1.15 + 3.2.2 +- 1.21 ++ 1.26.1 + 1.9.0 + 2.8.0 + 3.12.0 +@@ -1200,7 +1200,7 @@ + + org.apache.commons + commons-configuration2 +- 2.8.0 ++ 2.10.1 + + + org.apache.commons diff --git a/bigtop-packages/src/common/hadoop/patch12-HADOOP-18916.diff b/bigtop-packages/src/common/hadoop/patch12-HADOOP-18916.diff new file mode 100644 index 0000000000..e1e2b7ba21 --- /dev/null +++ b/bigtop-packages/src/common/hadoop/patch12-HADOOP-18916.diff @@ -0,0 +1,37 @@ +diff --git a/hadoop-client-modules/hadoop-client-minicluster/pom.xml b/hadoop-client-modules/hadoop-client-minicluster/pom.xml +index 2619603c0f87..9a9b0c126996 100644 +--- a/hadoop-client-modules/hadoop-client-minicluster/pom.xml ++++ b/hadoop-client-modules/hadoop-client-minicluster/pom.xml +@@ -763,6 +763,14 @@ + + + ++ ++ *:* ++ ++ META-INF/versions/9/module-info.class ++ META-INF/versions/11/module-info.class ++ ++ ++ + + + org.mockito:mockito-core +diff --git a/hadoop-client-modules/hadoop-client-runtime/pom.xml b/hadoop-client-modules/hadoop-client-runtime/pom.xml +index 440bbfcdc04a..933e68353c52 100644 +--- a/hadoop-client-modules/hadoop-client-runtime/pom.xml ++++ b/hadoop-client-modules/hadoop-client-runtime/pom.xml +@@ -242,6 +242,13 @@ + google/protobuf/**/*.proto + + ++ ++ *:* ++ ++ META-INF/versions/9/module-info.class ++ META-INF/versions/11/module-info.class ++ ++ + + com.fasterxml.jackson.*:* +