Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Java 9.0.4, Applied
HADOOP-12760andHDFS-11610
-
Reviewed
Description
mvn package -Pdist,native -Dtar -DskipTests fails.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (module-javadocs) on project hadoop-common: MavenReportException: Error while generating Javadoc: [ERROR] Exit code: 1 - javadoc: warning - The old Doclet and Taglet APIs in the packages [ERROR] com.sun.javadoc, com.sun.tools.doclets and their implementations [ERROR] are planned to be removed in a future JDK release. These [ERROR] components have been superseded by the new APIs in jdk.javadoc.doclet. [ERROR] Users are strongly recommended to migrate to the new APIs. [ERROR] /home/centos/git/hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java:1652: error: unmappable character (0xE2) for encoding US-ASCII [ERROR] * closed automatically ???these the marked paths will be deleted as a result. [ERROR] ^ [ERROR] /home/centos/git/hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java:1652: error: unmappable character (0x80) for encoding US-ASCII [ERROR] * closed automatically ???these the marked paths will be deleted as a result. [ERROR] ^ [ERROR] /home/centos/git/hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java:1652: error: unmappable character (0x94) for encoding US-ASCII [ERROR] * closed automatically ???these the marked paths will be deleted as a result.
JDK9 JavaDoc cannot treat non-ascii characters due to https://bugs.openjdk.java.net/browse/JDK-8188649.