From b0102360368b8e66c4a8813d0a315de54fc1a091 Mon Sep 17 00:00:00 2001
From: cxzl25 <3898450+cxzl25@users.noreply.github.com>
Date: Tue, 1 Oct 2024 21:48:48 +0800
Subject: [PATCH] HADOOP-19288. hadoop-client-runtime to exclude dnsjava
InetAddressResolverProvider (#7070)
Contributed by dzcxzl.
---
hadoop-client-modules/hadoop-client-runtime/pom.xml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/hadoop-client-modules/hadoop-client-runtime/pom.xml b/hadoop-client-modules/hadoop-client-runtime/pom.xml
index 1a4b25e8802cb..93657d7e25d93 100644
--- a/hadoop-client-modules/hadoop-client-runtime/pom.xml
+++ b/hadoop-client-modules/hadoop-client-runtime/pom.xml
@@ -229,8 +229,9 @@
jnamed*
lookup*
update*
- META-INF/versions/21/*
- META-INF/versions/21/**/*
+ META-INF/versions/18/*
+ META-INF/versions/18/**/*
+ META-INF/services/java.net.spi.InetAddressResolverProvider
@@ -245,7 +246,7 @@
META-INF/versions/9/module-info.class
META-INF/versions/11/module-info.class
- META-INF/versions/21/module-info.class
+ META-INF/versions/18/module-info.class