Rajendra Patil created OOZIE-2487:
-------------------------------------
Summary: 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
Priority: Trivial
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)