Andras Salamon created OOZIE-3558:
-------------------------------------

             Summary: [Java 11] Compile error for Java 11, Linux, Hadoop 2.6
                 Key: OOZIE-3558
                 URL: https://issues.apache.org/jira/browse/OOZIE-3558
             Project: Oozie
          Issue Type: Sub-task
    Affects Versions: 5.1.0, 5.2.0
            Reporter: Andras Salamon


Compiling Oozie  with Java 11 + Linux + Hadoop 2.6 gives the following error:
{noformat}
[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] {noformat}

* 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.





--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to