Skip to content

Commit

Permalink
[fix][sec] Exclude avro from hadoop-client (apache#21719)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2c383a1)
  • Loading branch information
liangyepianzhou authored and mukesh-ctds committed Feb 29, 2024
1 parent 7697e2b commit da0f9a2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
20 changes: 12 additions & 8 deletions pulsar-io/hdfs2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 4 additions & 0 deletions pulsar-io/hdfs3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit da0f9a2

Please sign in to comment.