Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-19288

hadoop-client-runtime exclude dnsjava InetAddressResolverProvider

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              dzcxzl dzcxzl
              dzcxzl dzcxzl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: