You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2016/09/22 00:55:20 UTC

[jira] [Commented] (OOZIE-2487) Temporary workaround for Java 8 Javadoc errors

    [ https://issues.apache.org/jira/browse/OOZIE-2487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15511684#comment-15511684 ] 

Robert Kanter commented on OOZIE-2487:
--------------------------------------

+1 on the 00 patch.

> Temporary workaround for Java 8 Javadoc errors
> ----------------------------------------------
>
>                 Key: OOZIE-2487
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2487
>             Project: Oozie
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 4.3.0
>         Environment: Mac OS X (10.10.5), Java 1.8.0_66
>            Reporter: Rajendra Patil
>            Assignee: Abhishek Bafna
>            Priority: Blocker
>              Labels: java8
>             Fix For: 4.3.0
>
>         Attachments: OOZIE-2487-00.patch, OOZIE-2487-1.patch, OOZIE-2487-2.patch
>
>
> While looking at another issue, I came across this. When I cloned latest oozie and tried to build distro using `./bin/mkdistro.sh` I found that the build failed with following error. 
> -------
> ....
> .../oozie/core/src/main/java/org/apache/oozie/service/UUIDService.java:114: error: reference not found
> [ERROR] * systemId is the value defined in the {@link #CONF_SYSTEM_ID} configuration property.
> ...
> -------
> The error seems to be due to the Java 8 feature (DocLint) that checks for errors in Java Docs strictly. The solution would be create a Java 8 specific profile to pass '-Xdoclint:none' to deactivate it. Having this flag for older java version fails to it has to be only for Java 8 using specific profile.
> I will create a patch for the same.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)