Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.1
Description
https://github.com/dnsjava/dnsjava/issues/338
Exception in thread "main" java.util.ServiceConfigurationError: java.net.spi.InetAddressResolverProvider: Provider org.apache.hadoop.shaded.org.xbill.DNS.spi.DnsjavaInetAddressResolverProvider not found
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1219)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1228)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273)
at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309)
at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393)
at java.base/java.util.ServiceLoader.findFirst(ServiceLoader.java:1812)
at java.base/java.net.InetAddress.loadResolver(InetAddress.java:508)
at java.base/java.net.InetAddress.resolver(InetAddress.java:488)
at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1826)
at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139)
at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818)
at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1931)
at org.apache.logging.log4j.core.util.NetUtils.getLocalHostname(NetUtils.java:56)
at org.apache.logging.log4j.core.LoggerContext.lambda$setConfiguration$0(LoggerContext.java:625)
Attachments
Issue Links
- is caused by
-
HADOOP-19237 upgrade dnsjava to 3.6.1 due to CVEs
- Resolved
- links to