hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-14278) [JDK9] TestDFSClientFailover is using the removed sun.net.spi.nameservice package
Date Wed, 05 Apr 2017 01:45:41 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-14278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Akira Ajisaka resolved HADOOP-14278.
------------------------------------
    Resolution: Duplicate

Already reported by HDFS-11610. Closing this as duplicate.

> [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
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Andres Perez
>            Priority: Minor
>
> 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


Mime
View raw message