hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bibin A Chundatt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15764) [JDK10] Migrate from sun.net.dns.ResolverConfiguration to the replacement
Date Tue, 25 Sep 2018 03:58:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-15764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16626734#comment-16626734
] 

Bibin A Chundatt commented on HADOOP-15764:
-------------------------------------------

Thank you [~ajisakaa]
{code}
  protected static class QualifiedHostResolver implements HostResolver {
    private List<String> searchDomains;
    {
      ResolverConfig resolverConfig = ResolverConfig.getCurrentConfig();
      searchDomains = new ArrayList<>();
      for (Name name : resolverConfig.searchPath()) {
        searchDomains.add(name.toString());
      }
    }
{code}
{{resolverConfig.searchPath()}} returns nulls in case of YARN-8816.. Additional null check
might be required..Linked YARN-8816

> [JDK10] Migrate from sun.net.dns.ResolverConfiguration to the replacement
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-15764
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15764
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: net, util
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>            Priority: Major
>             Fix For: 3.2.0
>
>         Attachments: HADOOP-15764.01.patch, HADOOP-15764.02.patch, HADOOP-15764.03.patch,
HADOOP-15764.04.patch
>
>
> In JDK10, sun.net.dns.ResolverConfiguration is encapsulated and not accessible from unnamed
modules. This issue is to remove the usage of ResolverConfiguration.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message