Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.0.0
Description
when I compiled the whole project, I found the following error
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hadoop-ozone-filesystem-hadoop2 --- [INFO] Compiling 5 source files to /Users/huangtao6/IDEA/apache/hadoop-ozone/hadoop-ozone/ozonefs-hadoop2/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] cannot access org.apache.hadoop.classification.InterfaceAudience.Public class file for org.apache.hadoop.classification.InterfaceAudience$Public not found [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.077 s [INFO] Finished at: 2020-06-14T14:37:22+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hadoop-ozone-filesystem-hadoop2: Compilation failure [ERROR] cannot access org.apache.hadoop.classification.InterfaceAudience.Public [ERROR] class file for org.apache.hadoop.classification.InterfaceAudience$Public not found
I can reproduce that with `mvn -pl "hadoop-ozone/ozonefs-hadoop2" clean install`
Attachments
Issue Links
- links to