From 7182bdbe048693a4bb1d20d23926ff5adfd4c0a2 Mon Sep 17 00:00:00 2001 From: exceptionfactory Date: Tue, 28 Mar 2023 21:39:39 -0500 Subject: [PATCH] NIFI-11358 Upgraded Hadoop from 3.3.4 to 3.3.5 - Upgraded Ranger Hadoop dependencies from 3.3.3 to 3.3.5 - Aligned Iceberg Hadoop version with project Hadoop version - Updated Atlas dependencies to align hadoop-hdfs-client version with hadoop-common - Updated Ranger hadoop-auth version to align with other Hadoop dependencies - Updated Spark Livy bundle to align with project Hadoop version - Removed unnecessary dependencies from Hive Test Utilities - Updated HBase 2 Woodstox Core from 5.3.0 to 5.4.0 - Suppressed false positive vulnerabilities for HBase client libraries --- nifi-dependency-check-maven/suppressions.xml | 25 ++++ nifi-nar-bundles/nifi-atlas-bundle/pom.xml | 12 ++ .../nifi-hive-test-utils/pom.xml | 116 ++++++++++++++++++ .../nifi-hive3-processors/pom.xml | 6 + .../nifi-iceberg-processors/pom.xml | 8 ++ nifi-nar-bundles/nifi-iceberg-bundle/pom.xml | 23 +++- .../nifi-ranger-plugin/pom.xml | 19 --- nifi-nar-bundles/nifi-ranger-bundle/pom.xml | 25 +++- .../nifi-livy-controller-service/pom.xml | 10 +- nifi-nar-bundles/nifi-spark-bundle/pom.xml | 6 + .../pom.xml | 12 ++ .../nifi-registry-ranger-plugin/pom.xml | 2 +- pom.xml | 4 +- 13 files changed, 242 insertions(+), 26 deletions(-) diff --git a/nifi-dependency-check-maven/suppressions.xml b/nifi-dependency-check-maven/suppressions.xml index 963de089e5e0..e34867068520 100644 --- a/nifi-dependency-check-maven/suppressions.xml +++ b/nifi-dependency-check-maven/suppressions.xml @@ -229,4 +229,29 @@ ^pkg:maven/io\.netty/.*$ CVE-2022-41881 + + CVE-2021-34538 applies to Apache Hive server not the Storage API library + ^pkg:maven/org\.apache\.hive/hive\-storage\-api@.*$ + CVE-2021-34538 + + + CVE-2018-8025 applies to HBase server not the shaded libraries + ^pkg:maven/org\.apache\.hbase\.thirdparty/hbase\-shaded\-.*$ + CVE-2018-8025 + + + CVE-2018-8025 applies to HBase Server not HBase libraries + ^pkg:maven/org\.apache\.hbase/hbase\-.*$ + CVE-2018-8025 + + + CVE-2019-0212 applies to HBase Server not HBase libraries + ^pkg:maven/org\.apache\.hbase/hbase\-.*$ + CVE-2019-0212 + + + Hadoop vulnerabilities do not apply to HBase Hadoop2 compatibility library + ^pkg:maven/org\.apache\.hbase/hbase\-hadoop2\-compat@.*$ + cpe:/a:apache:hadoop + diff --git a/nifi-nar-bundles/nifi-atlas-bundle/pom.xml b/nifi-nar-bundles/nifi-atlas-bundle/pom.xml index 9559df22b28c..2785a8392c42 100644 --- a/nifi-nar-bundles/nifi-atlas-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-atlas-bundle/pom.xml @@ -104,6 +104,18 @@ + + + org.apache.hadoop + hadoop-hdfs-client + ${hadoop.version} + + + org.slf4j + slf4j-reload4j + + + diff --git a/nifi-nar-bundles/nifi-hive-bundle/nifi-hive-test-utils/pom.xml b/nifi-nar-bundles/nifi-hive-bundle/nifi-hive-test-utils/pom.xml index a66a99694fec..25c3cda0d9d8 100644 --- a/nifi-nar-bundles/nifi-hive-bundle/nifi-hive-test-utils/pom.xml +++ b/nifi-nar-bundles/nifi-hive-bundle/nifi-hive-test-utils/pom.xml @@ -24,6 +24,66 @@ nifi-hive-test-utils jar + + + + org.apache.hadoop + hadoop-yarn-common + ${hadoop.version} + + + org.apache.hadoop + hadoop-yarn-server-common + ${hadoop.version} + + + org.apache.hadoop + hadoop-common + ${hadoop.version} + + + log4j + log4j + + + org.slf4j + slf4j-log4j12 + + + org.slf4j + slf4j-reload4j + + + commons-logging + commons-logging + + + + + org.apache.hadoop + hadoop-client + ${hadoop.version} + + + log4j + log4j + + + org.slf4j + slf4j-log4j12 + + + org.slf4j + slf4j-reload4j + + + commons-logging + commons-logging + + + + + org.apache.hive @@ -102,6 +162,10 @@ org.apache.ivy ivy + + org.apache.hadoop + hadoop-yarn-server-resourcemanager + @@ -137,8 +201,60 @@ org.apache.ivy ivy + + org.apache.hadoop + hadoop-distcp + + + org.apache.hadoop + hadoop-mapreduce-client-core + + + org.apache.hadoop + hadoop-hdfs + + + org.apache.hadoop + hadoop-archives + + + org.apache.hadoop + hadoop-yarn-registry + + + org.apache.hbase + hbase-hadoop2-compat + + + org.apache.hbase + hbase-server + + + org.apache.hbase.thirdparty + hbase-shaded-netty + + + org.apache.hbase.thirdparty + hbase-shaded-protobuf + + + org.apache.hbase.thirdparty + hbase-shaded-miscellaneous + + + org.apache.hive + hive-llap-server + + + org.apache.htrace + htrace-core + + + org.apache.hadoop + hadoop-common + org.junit.jupiter junit-jupiter-api diff --git a/nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/pom.xml b/nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/pom.xml index aa3dc1af1043..faee9bef0a59 100644 --- a/nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/pom.xml +++ b/nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/pom.xml @@ -316,6 +316,12 @@ groovy-all 2.4.21 + + + org.codehaus.jettison + jettison + 1.5.4 + org.apache.nifi nifi-hadoop-utils diff --git a/nifi-nar-bundles/nifi-iceberg-bundle/nifi-iceberg-processors/pom.xml b/nifi-nar-bundles/nifi-iceberg-bundle/nifi-iceberg-processors/pom.xml index 69ae6ec7dcbb..61d40d03654e 100644 --- a/nifi-nar-bundles/nifi-iceberg-bundle/nifi-iceberg-processors/pom.xml +++ b/nifi-nar-bundles/nifi-iceberg-bundle/nifi-iceberg-processors/pom.xml @@ -143,6 +143,14 @@ org.apache.hadoop hadoop-yarn-common + + org.apache.hadoop + hadoop-yarn-server-common + + + org.apache.hadoop + hadoop-yarn-registry + org.bouncycastle bcprov-jdk15on diff --git a/nifi-nar-bundles/nifi-iceberg-bundle/pom.xml b/nifi-nar-bundles/nifi-iceberg-bundle/pom.xml index 548c64bf729d..cfbf8029f08f 100644 --- a/nifi-nar-bundles/nifi-iceberg-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-iceberg-bundle/pom.xml @@ -27,7 +27,6 @@ 1.1.0 3.1.3 - 3.3.3 @@ -88,12 +87,34 @@ ant 1.10.12 + + + org.codehaus.jettison + jettison + 1.5.4 + com.nimbusds nimbus-jose-jwt 9.31 + + + org.apache.hadoop + hadoop-yarn-server-resourcemanager + ${hadoop.version} + + + org.bouncycastle + bcprov-jdk15on + + + org.bouncycastle + bcpkix-jdk15on + + + diff --git a/nifi-nar-bundles/nifi-ranger-bundle/nifi-ranger-plugin/pom.xml b/nifi-nar-bundles/nifi-ranger-bundle/nifi-ranger-plugin/pom.xml index 8297402fe8ed..f5b0f72a058d 100644 --- a/nifi-nar-bundles/nifi-ranger-bundle/nifi-ranger-plugin/pom.xml +++ b/nifi-nar-bundles/nifi-ranger-bundle/nifi-ranger-plugin/pom.xml @@ -180,25 +180,6 @@ org.apache.hadoop hadoop-auth - ${ranger.hadoop.version} - - - org.slf4j - slf4j-reload4j - - - org.slf4j - slf4j-log4j12 - - - log4j - log4j - - - commons-logging - commons-logging - - org.apache.nifi diff --git a/nifi-nar-bundles/nifi-ranger-bundle/pom.xml b/nifi-nar-bundles/nifi-ranger-bundle/pom.xml index c78039a02a29..fd864770998d 100644 --- a/nifi-nar-bundles/nifi-ranger-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-ranger-bundle/pom.xml @@ -32,7 +32,7 @@ - 3.3.3 + 3.3.5 @@ -73,6 +73,29 @@ nimbus-jose-jwt 9.31 + + org.apache.hadoop + hadoop-auth + ${ranger.hadoop.version} + + + org.slf4j + slf4j-reload4j + + + org.slf4j + slf4j-log4j12 + + + log4j + log4j + + + commons-logging + commons-logging + + + diff --git a/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/pom.xml b/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/pom.xml index ab109b59a1d7..8e939b1648bf 100644 --- a/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/pom.xml +++ b/nifi-nar-bundles/nifi-spark-bundle/nifi-livy-controller-service/pom.xml @@ -66,7 +66,7 @@ org.apache.hadoop hadoop-auth - 2.7.3 + ${hadoop.version} org.slf4j @@ -76,6 +76,14 @@ log4j log4j + + org.slf4j + slf4j-reload4j + + + commons-logging + commons-logging + diff --git a/nifi-nar-bundles/nifi-spark-bundle/pom.xml b/nifi-nar-bundles/nifi-spark-bundle/pom.xml index 8b0cc2f4eddc..d4fbaca79e93 100644 --- a/nifi-nar-bundles/nifi-spark-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-spark-bundle/pom.xml @@ -69,6 +69,12 @@ netty ${netty.3.version} + + + com.nimbusds + nimbus-jose-jwt + 9.31 + org.apache.zookeeper diff --git a/nifi-nar-bundles/nifi-standard-services/nifi-hbase_2-client-service-bundle/pom.xml b/nifi-nar-bundles/nifi-standard-services/nifi-hbase_2-client-service-bundle/pom.xml index b615430dffe2..236904574409 100644 --- a/nifi-nar-bundles/nifi-standard-services/nifi-hbase_2-client-service-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-standard-services/nifi-hbase_2-client-service-bundle/pom.xml @@ -79,6 +79,18 @@ + + + com.nimbusds + nimbus-jose-jwt + 9.31 + + + + com.fasterxml.woodstox + woodstox-core + 5.4.0 + diff --git a/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-plugin/pom.xml b/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-plugin/pom.xml index 61885f9fab63..55f5d6eceefb 100644 --- a/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-plugin/pom.xml +++ b/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-plugin/pom.xml @@ -25,7 +25,7 @@ jar - 3.3.3 + 3.3.5 1.2.1 2.1.5 diff --git a/pom.xml b/pom.xml index 8c20954d49fc..55f4999dc09e 100644 --- a/pom.xml +++ b/pom.xml @@ -130,9 +130,7 @@ 3.0.14 3.0.8-01 3.0.0-M8 - - 3.3.4 + 3.3.5 1.2.1 2.1.5 1.9.19