You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by te...@apache.org on 2023/12/14 01:10:20 UTC
(pulsar) branch branch-3.0 updated: [fix][sec] Exclude avro from hadoop-client (#21719)
This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 08879e334c8 [fix][sec] Exclude avro from hadoop-client (#21719)
08879e334c8 is described below
commit 08879e334c843385e35090e789892402232a2ef5
Author: Xiangying Meng <55...@users.noreply.github.com>
AuthorDate: Wed Dec 13 20:46:11 2023 +0800
[fix][sec] Exclude avro from hadoop-client (#21719)
---
pulsar-io/hdfs2/pom.xml | 20 ++++++++++++--------
pulsar-io/hdfs3/pom.xml | 4 ++++
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/pulsar-io/hdfs2/pom.xml b/pulsar-io/hdfs2/pom.xml
index c2fcf839b04..758b65246d9 100644
--- a/pulsar-io/hdfs2/pom.xml
+++ b/pulsar-io/hdfs2/pom.xml
@@ -55,14 +55,18 @@
<artifactId>hadoop-client</artifactId>
<version>${hadoop2.version}</version>
<exclusions>
- <exclusion>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.avro</groupId>
+ <artifactId>avro</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
diff --git a/pulsar-io/hdfs3/pom.xml b/pulsar-io/hdfs3/pom.xml
index 55c20413e1b..cd12b11a876 100644
--- a/pulsar-io/hdfs3/pom.xml
+++ b/pulsar-io/hdfs3/pom.xml
@@ -67,6 +67,10 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.avro</groupId>
+ <artifactId>avro</artifactId>
+ </exclusion>
</exclusions>
</dependency>