From c6c8b8064425f93a5bf74cc7ee6a207cab406b09 Mon Sep 17 00:00:00 2001 From: Clint Wylie Date: Mon, 27 Jan 2020 11:07:02 -0800 Subject: [PATCH] fix build by updating kafka client to 2.2.2 for CVE-2019-12399 (#9259) * fix build by updating kafka client to 2.2.2 for CVE-2019-12399 * one kafka version to rule them all * notice --- .../druid/query/lookup/TestKafkaExtractionCluster.java | 2 +- extensions-core/kafka-indexing-service/pom.xml | 4 ---- licenses.yaml | 8 ++++---- pom.xml | 2 +- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/extensions-core/kafka-extraction-namespace/src/test/java/org/apache/druid/query/lookup/TestKafkaExtractionCluster.java b/extensions-core/kafka-extraction-namespace/src/test/java/org/apache/druid/query/lookup/TestKafkaExtractionCluster.java index f521654acc6..724064af3bf 100644 --- a/extensions-core/kafka-extraction-namespace/src/test/java/org/apache/druid/query/lookup/TestKafkaExtractionCluster.java +++ b/extensions-core/kafka-extraction-namespace/src/test/java/org/apache/druid/query/lookup/TestKafkaExtractionCluster.java @@ -205,7 +205,7 @@ public class TestKafkaExtractionCluster private void checkServer() { - if (!kafkaServer.apis().controller().isActive()) { + if (!kafkaServer.dataPlaneRequestProcessor().controller().isActive()) { throw new ISE("server is not active!"); } } diff --git a/extensions-core/kafka-indexing-service/pom.xml b/extensions-core/kafka-indexing-service/pom.xml index 69533ec2472..63d7b81fcec 100644 --- a/extensions-core/kafka-indexing-service/pom.xml +++ b/extensions-core/kafka-indexing-service/pom.xml @@ -33,10 +33,6 @@ ../../pom.xml - - 2.2.1 - - org.apache.druid diff --git a/licenses.yaml b/licenses.yaml index 70388d9daba..a67d9aa5845 100644 --- a/licenses.yaml +++ b/licenses.yaml @@ -3093,7 +3093,7 @@ libraries: --- name: Apache Kafka -version: 2.2.1 +version: 2.2.2 license_category: binary module: extensions/druid-kafka-indexing-service license_name: Apache License version 2.0 @@ -3102,7 +3102,7 @@ libraries: notices: - kafka-clients: | Apache Kafka - Copyright 2018 The Apache Software Foundation. + Copyright 2019 The Apache Software Foundation. This distribution has a binary dependency on jersey, which is available under the CDDL License. The source code of jersey can be found at https://github.com/jersey/jersey/. @@ -3967,14 +3967,14 @@ name: Apache Kafka license_category: binary module: extensions/kafka-extraction-namespace license_name: Apache License version 2.0 -version: 2.1.1 +version: 2.2.2 libraries: - org.apache.kafka: kafka_2.12 - org.apache.kafka: kafka-clients notices: - kafka-clients: Apache Kafka - Copyright 2018 The Apache Software Foundation. + Copyright 2019 The Apache Software Foundation. This distribution has a binary dependency on jersey, which is available under the CDDL License. The source code of jersey can be found at https://github.com/jersey/jersey/. diff --git a/pom.xml b/pom.xml index bfc211ecac7..b7f46dd17ba 100644 --- a/pom.xml +++ b/pom.xml @@ -78,7 +78,7 @@ 0.9.0.M2 4.1.0 2.12.0 - 2.1.1 + 2.2.2 1.15.0 1.9.1 1.21.0