From 4ff0dceebdabbbe697495a4bf8c72530440c2ff7 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 8c72f53e9189f..ed410d255465a 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