You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Andres Perez (JIRA)" <ji...@apache.org> on 2017/04/04 23:16:41 UTC

[jira] [Created] (HADOOP-14278) [JDK9] TestDFSClientFailover is using the removed sun.net.spi.nameservice package

Andres Perez created HADOOP-14278:
-------------------------------------

             Summary: [JDK9] TestDFSClientFailover is using the removed sun.net.spi.nameservice package
                 Key: HADOOP-14278
                 URL: https://issues.apache.org/jira/browse/HADOOP-14278
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Andres Perez


In JDK9 sun.net.spi.nameservice package has been removed http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/d11ad4b19348 making it fail when running {{mvn clean install -DskipTests}} with error:
{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project hadoop-hdfs: Compilation failure: Compilation failure:
[ERROR] /root/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSClientFailover.java:[66,31] package sun.net.spi.nameservice does not exist
[ERROR] /root/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSClientFailover.java:[233,11] cannot find symbol
[ERROR] symbol:   class NameService
[ERROR] location: class org.apache.hadoop.hdfs.TestDFSClientFailover
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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