Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
3.0.0-alpha2
-
None
-
None
-
None
Description
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:
[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
Attachments
Issue Links
- duplicates
-
HDFS-11610 sun.net.spi.nameservice.NameService has moved to a new location
- Resolved