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-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org