Skip to content

Commit

Permalink
HADOOP-19456. Upgrade kafka to 3.9.0 to fix CVE-2024-31141. (apache#7401
Browse files Browse the repository at this point in the history
) Contributed by Palakur Eshwitha Sai.

Reviewed-by: PJ Fanning <[email protected]>
Signed-off-by: Shilun Fan <[email protected]>
  • Loading branch information
eshwitha authored Feb 20, 2025
1 parent 05ae3e0 commit ec6c08b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions LICENSE-binary
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ org.apache.htrace:htrace-core:3.1.0-incubating
org.apache.htrace:htrace-core4:4.1.0-incubating
org.apache.httpcomponents:httpclient:4.5.13
org.apache.httpcomponents:httpcore:4.4.13
org.apache.kafka:kafka-clients:3.4.0
org.apache.kafka:kafka-clients:3.9.0
org.apache.kerby:kerb-admin:2.0.3
org.apache.kerby:kerb-client:2.0.3
org.apache.kerby:kerb-common:2.0.3
Expand Down Expand Up @@ -378,7 +378,7 @@ hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/com
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/fuse-dfs/util/tree.h
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/compat/{fstatat|openat|unlinkat}.h

com.github.luben:zstd-jni:1.5.2-1
com.github.luben:zstd-jni:1.5.6-4
dnsjava:dnsjava:3.6.1
org.codehaus.woodstox:stax2-api:4.2.1

Expand Down
2 changes: 1 addition & 1 deletion hadoop-project/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<!-- Version number for xerces used by JDiff -->
<xerces.jdiff.version>2.12.2</xerces.jdiff.version>

<kafka.version>3.4.0</kafka.version>
<kafka.version>3.9.0</kafka.version>

<commons-daemon.version>1.0.13</commons-daemon.version>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ public void init(SubsetConfiguration conf) {
LOG.warn("Error getting Hostname, going to continue");
}

System.setProperty("org.apache.kafka.automatic.config.providers", "none");

try {
// Create the producer object.
producer = new KafkaProducer<Integer, byte[]>(props);
Expand Down

0 comments on commit ec6c08b

Please sign in to comment.