This is an automated email from the ASF dual-hosted git repository.

wgtmac pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-java.git


The following commit(s) were added to refs/heads/master by this push:
     new ec1b8661c Bump com.squareup.okhttp3:okhttp from 4.12.0 to 5.4.0 (#3630)
ec1b8661c is described below

commit ec1b8661c913312e16b21327f9b6f7ac1d16f492
Author: Eduard Tudenhoefner <[email protected]>
AuthorDate: Wed Jun 24 08:23:25 2026 +0200

    Bump com.squareup.okhttp3:okhttp from 4.12.0 to 5.4.0 (#3630)
---
 parquet-hadoop/pom.xml                                  | 17 +++++++++++++++--
 .../parquet/crypto/keytools/samples/VaultClient.java    |  2 +-
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/parquet-hadoop/pom.xml b/parquet-hadoop/pom.xml
index 0cc17c819..0426d9ff6 100644
--- a/parquet-hadoop/pom.xml
+++ b/parquet-hadoop/pom.xml
@@ -62,6 +62,19 @@
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-client</artifactId>
       <scope>provided</scope>
+      <exclusions>
+        <!-- hadoop-hdfs-client pulls in the legacy okhttp 2.x / okio 1.x, 
which
+             clash with okhttp 5.x / okio 3.x used by the interop tests and 
break
+             okhttp3.internal._UtilCommonKt initialization. -->
+        <exclusion>
+          <groupId>com.squareup.okhttp</groupId>
+          <artifactId>okhttp</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>com.squareup.okio</groupId>
+          <artifactId>okio</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.apache.hadoop</groupId>
@@ -182,8 +195,8 @@
     </dependency>
     <dependency>
       <groupId>com.squareup.okhttp3</groupId>
-      <artifactId>okhttp</artifactId>
-      <version>4.12.0</version>
+      <artifactId>okhttp-jvm</artifactId>
+      <version>5.4.0</version>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git 
a/parquet-hadoop/src/test/java/org/apache/parquet/crypto/keytools/samples/VaultClient.java
 
b/parquet-hadoop/src/test/java/org/apache/parquet/crypto/keytools/samples/VaultClient.java
index fcaac1176..8afa90920 100755
--- 
a/parquet-hadoop/src/test/java/org/apache/parquet/crypto/keytools/samples/VaultClient.java
+++ 
b/parquet-hadoop/src/test/java/org/apache/parquet/crypto/keytools/samples/VaultClient.java
@@ -133,7 +133,7 @@ public class VaultClient implements KmsClient {
   private String getContentFromTransitEngine(String endPoint, String jPayload, 
String masterKeyIdentifier) {
     LOG.info("masterKeyIdentifier: " + masterKeyIdentifier);
 
-    final RequestBody requestBody = RequestBody.create(JSON_MEDIA_TYPE, 
jPayload);
+    final RequestBody requestBody = RequestBody.create(jPayload, 
JSON_MEDIA_TYPE);
     Request request = new Request.Builder()
         .url(endPoint + masterKeyIdentifier)
         .header(tokenHeader, kmsToken)

Reply via email to