Robert Kanter commented on OOZIE-2487:

The funny thing is that I did spend a ton of time going through the tedious 
process to fix all this before for OOZIE-2178.  I guess that was a while ago 
now and we don't regularly compile with Java 8 so we introduced more javadoc 
errors without knowing in the meantime :(

Given that we want to get the 4.3 release moving along, I'm fine with ignoring 
that check for now so it builds.  I've created OOZIE-2681 to followup with 
actually fixing this again.

> Unable to build distro on Java 8 (on Mac)
> -----------------------------------------
>                 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

Reply via email to