[
https://issues.apache.org/jira/browse/HDDS-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
HuangTao updated HDDS-3797:
---------------------------
Description:
when I compiled the whole project, I found the following error
{code:java}
[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
{code}
I can reproduce that with `mvn -pl "hadoop-ozone/ozonefs-hadoop2" clean install`
was:
when I compiled the project, I found the following error
{code}
[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
{code}
I can reproduce that with `mvn -pl "hadoop-ozone/ozonefs-hadoop2" clean install`
> Failed to compile the project hadoop-ozone-filesystem-hadoop2
> -------------------------------------------------------------
>
> Key: HDDS-3797
> URL: https://issues.apache.org/jira/browse/HDDS-3797
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: CI
> Affects Versions: 0.7.0
> Reporter: HuangTao
> Assignee: HuangTao
> Priority: Minor
> Labels: build, pull-request-available
>
> when I compiled the whole project, I found the following error
> {code:java}
> [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
> {code}
> I can reproduce that with `mvn -pl "hadoop-ozone/ozonefs-hadoop2" clean
> install`
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]