Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2487

Temporary workaround for Java 8 Javadoc errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.3.0
    • 4.3.0
    • core
    • Mac OS X (10.10.5), Java 1.8.0_66

    Description

      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.

      Attachments

        1. OOZIE-2487-00.patch
          0.6 kB
          Abhishek Bafna
        2. OOZIE-2487-1.patch
          0.6 kB
          Rajendra Patil
        3. OOZIE-2487-2.patch
          1 kB
          Rajendra Patil

        Issue Links

          Activity

            People

              abhishekbafna Abhishek Bafna
              rpatil Rajendra Patil
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: