You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/14 06:54:00 UTC

[jira] [Updated] (HDDS-3797) Failed to compile the project hadoop-ozone-filesystem-hadoop2

     [ https://issues.apache.org/jira/browse/HDDS-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HDDS-3797:
---------------------------------
    Labels: build pull-request-available  (was: build)

> 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 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`



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org