Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3459 [Java 11] Build and test Oozie with Java 11
  3. OOZIE-3558

[Java 11] Compile error for Java 11, Linux, Hadoop 2.6

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.1.0, 5.2.0
    • None
    • None
    • None

    Description

      Compiling Oozie with Java 11 + Linux + Hadoop 2.6 gives the following error:

      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Apache Oozie Main 5.3.0-SNAPSHOT ................... SUCCESS [  1.771 s]
      [INFO] Apache Oozie Fluent Job ............................ SUCCESS [  0.090 s]
      [INFO] Apache Oozie Fluent Job API ........................ FAILURE [  0.363 s]
      [INFO] Apache Oozie Client ................................ SKIPPED
      [INFO] Apache Oozie Share Lib Oozie ....................... SKIPPED
      [INFO] Apache Oozie Share Lib HCatalog .................... SKIPPED
      [INFO] Apache Oozie Share Lib Distcp ...................... SKIPPED
      [INFO] Apache Oozie Core .................................. SKIPPED
      [INFO] Apache Oozie Share Lib Streaming ................... SKIPPED
      [INFO] Apache Oozie Share Lib Pig ......................... SKIPPED
      [INFO] Apache Oozie Share Lib Git ......................... SKIPPED
      [INFO] Apache Oozie Share Lib Hive ........................ SKIPPED
      [INFO] Apache Oozie Share Lib Hive 2 ...................... SKIPPED
      [INFO] Apache Oozie Share Lib Sqoop ....................... SKIPPED
      [INFO] Apache Oozie Examples .............................. SKIPPED
      [INFO] Apache Oozie Share Lib Spark ....................... SKIPPED
      [INFO] Apache Oozie Share Lib ............................. SKIPPED
      [INFO] Apache Oozie Docs .................................. SKIPPED
      [INFO] Apache Oozie WebApp ................................ SKIPPED
      [INFO] Apache Oozie Tools ................................. SKIPPED
      [INFO] Apache Oozie MiniOozie ............................. SKIPPED
      [INFO] Apache Oozie Fluent Job Client ..................... SKIPPED
      [INFO] Apache Oozie Server ................................ SKIPPED
      [INFO] Apache Oozie Distro ................................ SKIPPED
      [INFO] Apache Oozie ZooKeeper Security Tests 5.3.0-SNAPSHOT SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4.424 s
      [INFO] Finished at: 2019-11-14T01:26:37-08:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project oozie-fluent-job-api: Could not resolve dependencies for project org.apache.oozie:oozie-fluent-job-api:jar:5.3.0-SNAPSHOT: Could not find artifact jdk.tools:jdk.tools:jar:1.6 at specified path /home/systest/jdk-11.0.2/../lib/tools.jar -> [Help 1] 
      • I have tested several hadoop versions, all hadoop 2.6.x versions are affected, but Oozie compiles correctly if I specify hadoop 2.7.0
      • Quite strange, but I only got the error message if I use Linux. It compiles correctly if I compile Oozie using a Mac.
      • Using Java 10 instead of Java 11 gives the same error.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              asalamon74 Andras Salamon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: