From 60d6d469bff511c8a890209ef60f58034792a5f6 Mon Sep 17 00:00:00 2001 From: exceptionfactory Date: Wed, 27 Oct 2021 20:52:59 -0500 Subject: [PATCH] NIFI-9342 Upgraded to Netty 3.10.6 and 4.1.69 - Replaced Netty 3.6.9 and 3.7.1 with 3.10.6 - Replaced Netty 4.1 with 4.1.69 Signed-off-by: Pierre Villard This closes #5490. --- nifi-commons/nifi-security-socket-ssl/pom.xml | 2 +- nifi-external/nifi-spark-receiver/pom.xml | 5 +++ nifi-nar-bundles/nifi-atlas-bundle/pom.xml | 11 +++++ nifi-nar-bundles/nifi-druid-bundle/pom.xml | 17 ++++++++ .../nifi-elasticsearch-5-processors/pom.xml | 16 ++++++++ .../nifi-elasticsearch-processors/pom.xml | 6 +++ .../nifi-event-transport/pom.xml | 2 +- .../nifi-record-utils/pom.xml | 7 ++-- nifi-nar-bundles/nifi-flume-bundle/pom.xml | 12 ++++++ .../nifi-framework-bundle/pom.xml | 3 +- .../nifi-graph-test-clients/pom.xml | 6 +++ .../nifi-other-graph-services/pom.xml | 6 +++ nifi-nar-bundles/nifi-hadoop-bundle/pom.xml | 6 +++ .../nifi-hadoop-libraries-bundle/pom.xml | 3 +- nifi-nar-bundles/nifi-hive-bundle/pom.xml | 19 ++++++++- nifi-nar-bundles/nifi-kafka-bundle/pom.xml | 3 +- nifi-nar-bundles/nifi-kite-bundle/pom.xml | 3 +- nifi-nar-bundles/nifi-parquet-bundle/pom.xml | 3 +- nifi-nar-bundles/nifi-riemann-bundle/pom.xml | 3 +- nifi-nar-bundles/nifi-solr-bundle/pom.xml | 41 +++++++++++++++++++ nifi-nar-bundles/nifi-spark-bundle/pom.xml | 3 +- .../pom.xml | 2 +- .../pom.xml | 3 +- .../pom.xml | 3 +- .../nifi-registry-aws-extensions/pom.xml | 11 +++++ nifi-toolkit/pom.xml | 3 +- pom.xml | 2 + 27 files changed, 172 insertions(+), 29 deletions(-) diff --git a/nifi-commons/nifi-security-socket-ssl/pom.xml b/nifi-commons/nifi-security-socket-ssl/pom.xml index a18b60813a..4890c6a366 100644 --- a/nifi-commons/nifi-security-socket-ssl/pom.xml +++ b/nifi-commons/nifi-security-socket-ssl/pom.xml @@ -40,7 +40,7 @@ io.netty netty-handler - 4.1.65.Final + ${netty.4.version} test diff --git a/nifi-external/nifi-spark-receiver/pom.xml b/nifi-external/nifi-spark-receiver/pom.xml index c829705712..97b5f7444d 100644 --- a/nifi-external/nifi-spark-receiver/pom.xml +++ b/nifi-external/nifi-spark-receiver/pom.xml @@ -48,6 +48,11 @@ zookeeper 3.4.14 + + io.netty + netty + ${netty.3.version} + diff --git a/nifi-nar-bundles/nifi-atlas-bundle/pom.xml b/nifi-nar-bundles/nifi-atlas-bundle/pom.xml index fc51c7f3aa..863d30d496 100644 --- a/nifi-nar-bundles/nifi-atlas-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-atlas-bundle/pom.xml @@ -85,6 +85,17 @@ commons-compress 1.21 + + + io.netty + netty-handler + ${netty.4.version} + + + io.netty + netty-transport-native-epoll + ${netty.4.version} + diff --git a/nifi-nar-bundles/nifi-druid-bundle/pom.xml b/nifi-nar-bundles/nifi-druid-bundle/pom.xml index 912e6d362c..d193312348 100644 --- a/nifi-nar-bundles/nifi-druid-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-druid-bundle/pom.xml @@ -90,6 +90,23 @@ zookeeper 3.4.14 + + + io.netty + netty + ${netty.3.version} + + + + io.netty + netty-transport + ${netty.4.version} + + + io.netty + netty-transport-native-epoll + ${netty.4.version} + diff --git a/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-5-processors/pom.xml b/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-5-processors/pom.xml index a1c61c3949..ec2e0fc5d0 100644 --- a/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-5-processors/pom.xml +++ b/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-5-processors/pom.xml @@ -93,6 +93,22 @@ language governing permissions and limitations under the License. --> nifi-ssl-context-service test + + + io.netty + netty-transport + ${netty.4.version} + + + io.netty + netty-codec-http + ${netty.4.version} + + + io.netty + netty-handler + ${netty.4.version} + diff --git a/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-processors/pom.xml b/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-processors/pom.xml index 649937615a..fa0157b985 100644 --- a/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-processors/pom.xml +++ b/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-processors/pom.xml @@ -138,6 +138,12 @@ language governing permissions and limitations under the License. --> nifi-standard-record-utils 1.15.0-SNAPSHOT + + + io.netty + netty + ${netty.3.version} + diff --git a/nifi-nar-bundles/nifi-extension-utils/nifi-event-transport/pom.xml b/nifi-nar-bundles/nifi-extension-utils/nifi-event-transport/pom.xml index ab008d213f..b2591e85c2 100644 --- a/nifi-nar-bundles/nifi-extension-utils/nifi-event-transport/pom.xml +++ b/nifi-nar-bundles/nifi-extension-utils/nifi-event-transport/pom.xml @@ -26,7 +26,7 @@ io.netty netty-handler - 4.1.63.Final + ${netty.4.version} org.apache.nifi diff --git a/nifi-nar-bundles/nifi-extension-utils/nifi-record-utils/pom.xml b/nifi-nar-bundles/nifi-extension-utils/nifi-record-utils/pom.xml index e592ff6b85..ddb6d21888 100644 --- a/nifi-nar-bundles/nifi-extension-utils/nifi-record-utils/pom.xml +++ b/nifi-nar-bundles/nifi-extension-utils/nifi-record-utils/pom.xml @@ -26,17 +26,16 @@ nifi-avro-record-utils nifi-standard-record-utils - nifi-hadoop-record-utils - nifi-mock-record-utils + nifi-hadoop-record-utils + nifi-mock-record-utils - io.netty netty - 3.7.1.Final + ${netty.3.version} diff --git a/nifi-nar-bundles/nifi-flume-bundle/pom.xml b/nifi-nar-bundles/nifi-flume-bundle/pom.xml index 4f1c127092..2eae3ab9b9 100644 --- a/nifi-nar-bundles/nifi-flume-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-flume-bundle/pom.xml @@ -35,6 +35,18 @@ nifi-flume-processors 1.15.0-SNAPSHOT + + + io.netty + netty + ${netty.3.version} + + + + io.netty + netty-all + ${netty.4.version} + diff --git a/nifi-nar-bundles/nifi-framework-bundle/pom.xml b/nifi-nar-bundles/nifi-framework-bundle/pom.xml index e17c8a1fb5..bbea33ecb9 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-framework-bundle/pom.xml @@ -647,10 +647,9 @@ 3.6 - io.netty netty - 3.7.1.Final + ${netty.3.version} diff --git a/nifi-nar-bundles/nifi-graph-bundle/nifi-graph-test-clients/pom.xml b/nifi-nar-bundles/nifi-graph-bundle/nifi-graph-test-clients/pom.xml index 52e9b52ed2..923462a0c4 100644 --- a/nifi-nar-bundles/nifi-graph-bundle/nifi-graph-test-clients/pom.xml +++ b/nifi-nar-bundles/nifi-graph-bundle/nifi-graph-test-clients/pom.xml @@ -114,5 +114,11 @@ org.apache.nifi nifi-mock + + + io.netty + netty-all + ${netty.4.version} + diff --git a/nifi-nar-bundles/nifi-graph-bundle/nifi-other-graph-services/pom.xml b/nifi-nar-bundles/nifi-graph-bundle/nifi-other-graph-services/pom.xml index 765bfac1f0..a4c1364472 100644 --- a/nifi-nar-bundles/nifi-graph-bundle/nifi-other-graph-services/pom.xml +++ b/nifi-nar-bundles/nifi-graph-bundle/nifi-other-graph-services/pom.xml @@ -118,6 +118,12 @@ gremlin-driver ${gremlin.version} + + + io.netty + netty-all + ${netty.4.version} + diff --git a/nifi-nar-bundles/nifi-hadoop-bundle/pom.xml b/nifi-nar-bundles/nifi-hadoop-bundle/pom.xml index 98a8a94c5f..22b8753ebe 100644 --- a/nifi-nar-bundles/nifi-hadoop-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-hadoop-bundle/pom.xml @@ -39,6 +39,12 @@ jackson-databind ${jackson.version} + + + io.netty + netty-all + ${netty.4.version} + diff --git a/nifi-nar-bundles/nifi-hadoop-libraries-bundle/pom.xml b/nifi-nar-bundles/nifi-hadoop-libraries-bundle/pom.xml index 0f568bf38e..ff999d4ec9 100644 --- a/nifi-nar-bundles/nifi-hadoop-libraries-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-hadoop-libraries-bundle/pom.xml @@ -29,10 +29,9 @@ - io.netty netty - 3.7.1.Final + ${netty.3.version} diff --git a/nifi-nar-bundles/nifi-hive-bundle/pom.xml b/nifi-nar-bundles/nifi-hive-bundle/pom.xml index 359274d51d..ea814a5770 100644 --- a/nifi-nar-bundles/nifi-hive-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-hive-bundle/pom.xml @@ -40,10 +40,9 @@ - io.netty netty - 3.7.1.Final + ${netty.3.version} @@ -111,6 +110,22 @@ zookeeper 3.4.14 + + + io.netty + netty-buffer + ${netty.4.version} + + + io.netty + netty-common + ${netty.4.version} + + + io.netty + netty-all + ${netty.4.version} + diff --git a/nifi-nar-bundles/nifi-kafka-bundle/pom.xml b/nifi-nar-bundles/nifi-kafka-bundle/pom.xml index 8d1e099fc3..2009a2bfa9 100644 --- a/nifi-nar-bundles/nifi-kafka-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-kafka-bundle/pom.xml @@ -86,10 +86,9 @@ 1.15.0-SNAPSHOT - io.netty netty - 3.7.1.Final + ${netty.3.version} diff --git a/nifi-nar-bundles/nifi-kite-bundle/pom.xml b/nifi-nar-bundles/nifi-kite-bundle/pom.xml index 29340d3427..13d633872e 100644 --- a/nifi-nar-bundles/nifi-kite-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-kite-bundle/pom.xml @@ -39,10 +39,9 @@ 1.15.0-SNAPSHOT - io.netty netty - 3.6.9.Final + ${netty.3.version} diff --git a/nifi-nar-bundles/nifi-parquet-bundle/pom.xml b/nifi-nar-bundles/nifi-parquet-bundle/pom.xml index 82c2026605..22b1c772e0 100644 --- a/nifi-nar-bundles/nifi-parquet-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-parquet-bundle/pom.xml @@ -32,12 +32,11 @@ nifi-parquet-nar - io.netty netty - 3.6.9.Final + ${netty.3.version} diff --git a/nifi-nar-bundles/nifi-riemann-bundle/pom.xml b/nifi-nar-bundles/nifi-riemann-bundle/pom.xml index 1b66a7ecb1..4093b09873 100644 --- a/nifi-nar-bundles/nifi-riemann-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-riemann-bundle/pom.xml @@ -45,10 +45,9 @@ 1.15.0-SNAPSHOT - io.netty netty - 3.6.9.Final + ${netty.3.version} diff --git a/nifi-nar-bundles/nifi-solr-bundle/pom.xml b/nifi-nar-bundles/nifi-solr-bundle/pom.xml index 4e4c2ba199..53b6ae23ac 100644 --- a/nifi-nar-bundles/nifi-solr-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-solr-bundle/pom.xml @@ -35,6 +35,47 @@ commons-io 2.10.0 + + + io.netty + netty-transport + ${netty.4.version} + + + io.netty + netty-buffer + ${netty.4.version} + + + io.netty + netty-codec + ${netty.4.version} + + + io.netty + netty-common + ${netty.4.version} + + + io.netty + netty-handler + ${netty.4.version} + + + io.netty + netty-resolver + ${netty.4.version} + + + io.netty + netty-transport-native-epoll + ${netty.4.version} + + + io.netty + netty-transport-native-unix-common + ${netty.4.version} + diff --git a/nifi-nar-bundles/nifi-spark-bundle/pom.xml b/nifi-nar-bundles/nifi-spark-bundle/pom.xml index dc81d7ef60..d25b7f1e7b 100644 --- a/nifi-nar-bundles/nifi-spark-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-spark-bundle/pom.xml @@ -59,10 +59,9 @@ 1.19.1 - io.netty netty - 3.7.1.Final + ${netty.3.version} diff --git a/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-client-service/pom.xml b/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-client-service/pom.xml index e8455ad279..95c8c11471 100644 --- a/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-client-service/pom.xml +++ b/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-client-service/pom.xml @@ -62,7 +62,7 @@ io.netty netty-buffer - 4.1.65.Final + ${netty.4.version} diff --git a/nifi-nar-bundles/nifi-standard-services/nifi-hbase_1_1_2-client-service-bundle/pom.xml b/nifi-nar-bundles/nifi-standard-services/nifi-hbase_1_1_2-client-service-bundle/pom.xml index 02c402be0e..e4260761d6 100644 --- a/nifi-nar-bundles/nifi-standard-services/nifi-hbase_1_1_2-client-service-bundle/pom.xml +++ b/nifi-nar-bundles/nifi-standard-services/nifi-hbase_1_1_2-client-service-bundle/pom.xml @@ -83,10 +83,9 @@ ${hadoop.version} - io.netty netty - 3.6.9.Final + ${netty.3.version} 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 02c80d4d85..50da74285d 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 @@ -53,10 +53,9 @@ - io.netty netty - 3.6.9.Final + ${netty.3.version} diff --git a/nifi-registry/nifi-registry-extensions/nifi-registry-aws/nifi-registry-aws-extensions/pom.xml b/nifi-registry/nifi-registry-extensions/nifi-registry-aws/nifi-registry-aws-extensions/pom.xml index fb40e586ab..e2fcf556f5 100644 --- a/nifi-registry/nifi-registry-extensions/nifi-registry-aws/nifi-registry-aws-extensions/pom.xml +++ b/nifi-registry/nifi-registry-extensions/nifi-registry-aws/nifi-registry-aws-extensions/pom.xml @@ -48,6 +48,17 @@ mockito-core test + + + io.netty + netty-transport + ${netty.4.version} + + + io.netty + netty-transport-native-unix-common + ${netty.4.version} + diff --git a/nifi-toolkit/pom.xml b/nifi-toolkit/pom.xml index 651fc71247..b27b6e9886 100644 --- a/nifi-toolkit/pom.xml +++ b/nifi-toolkit/pom.xml @@ -53,10 +53,9 @@ - io.netty netty - 3.7.1.Final + ${netty.3.version} diff --git a/pom.xml b/pom.xml index 2d4a4d302a..c5639f9d33 100644 --- a/pom.xml +++ b/pom.xml @@ -112,6 +112,8 @@ 2.33 1.2.6 3.11.2 + 3.10.6.Final + 4.1.69.Final