You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/06/04 11:37:50 UTC

[GitHub] [hadoop-ozone] elek opened a new pull request #1018: HDDS-3716. Compile of Ozone fails with JDK 11+

elek opened a new pull request #1018:
URL: https://github.com/apache/hadoop-ozone/pull/1018


   ## What changes were proposed in this pull request?
   
   @PostConstruct annotation is removed from JDK (it's Java EE) in the recent JDKs.
   
   It's used by the Configuration annotations, but we don't need to use Java EE annotations:
   
   ```
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hadoop-hdds-config: Compilation failure: Compilation failure: 
   [ERROR] /Users/sbanerjee/ozone_fork/hadoop-hdds/config/src/main/java/org/apache/hadoop/hdds/conf/ConfigurationReflectionUtil.java:[20,24] cannot find symbol
   [ERROR]  symbol:  class PostConstruct
   [ERROR]  location: package javax.annotation
   [ERROR] /Users/sbanerjee/ozone_fork/hadoop-hdds/config/src/main/java/org/apache/hadoop/hdds/conf/ConfigurationReflectionUtil.java:[139,38] cannot find symbol
   [ERROR]  symbol:  class PostConstruct
   ```
   
   ## What is the link to the Apache JIRA
   
   You can guess it, but it's:
   
   https://issues.apache.org/jira/browse/HDDS-3716
   
   ## How was this patch tested?
   
   Compiled ozone locally with java13.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] elek commented on pull request #1018: HDDS-3716. Compile of Ozone fails with JDK 11+

Posted by GitBox <gi...@apache.org>.
elek commented on pull request #1018:
URL: https://github.com/apache/hadoop-ozone/pull/1018#issuecomment-639327547


   Thanks the review @arp7 and @adoroszlai (and the report @bshashikant). I am merging it now.
   
   BTW eventually we can switch to use java11 to compile (I am talking about the used JVM, required API level is a different discussion). Sonar is complaining that JDK8 won't be supported after September 2020


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] elek merged pull request #1018: HDDS-3716. Compile of Ozone fails with JDK 11+

Posted by GitBox <gi...@apache.org>.
elek merged pull request #1018:
URL: https://github.com/apache/hadoop-ozone/pull/1018


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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