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

Cannot compile with hadoop 3.1.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.0
    • 5.1.0
    • core
    • None

    Description

      command failure on the following, same happens with 3.0.0. Issue does not appear with < 3.0

      mvn clean install -DskipTests -Dhadoop.version=3.1.0
      [ERROR] COMPILATION ERROR :
      [INFO] -------------------------------------------------------------
      [ERROR] /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37] package org.apache.directory.api.util does not exist
      [ERROR] /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41] cannot find symbol
      symbol: variable Strings
      location: class org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
      [INFO] 2 errors
      [INFO] -------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Apache Oozie Main 5.0.0 ............................ SUCCESS [ 3.768 s]
      [INFO] Apache Oozie Client ................................ SUCCESS [ 30.924 s]
      [INFO] Apache Oozie Share Lib Oozie ....................... SUCCESS [ 20.904 s]
      [INFO] Apache Oozie Share Lib HCatalog .................... SUCCESS [ 9.150 s]
      [INFO] Apache Oozie Share Lib Distcp ...................... SUCCESS [ 7.938 s]
      [INFO] Apache Oozie Core .................................. FAILURE [ 13.929 s]
      [INFO] Apache Oozie Share Lib Streaming ................... SKIPPED
      [INFO] Apache Oozie Share Lib Pig ......................... 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 Server ................................ SKIPPED
      [INFO] Apache Oozie Distro ................................ SKIPPED
      [INFO] Apache Oozie ZooKeeper Security Tests 5.0.0 ........ SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 01:28 min
      [INFO] Finished at: 2018-04-13T14:03:17Z
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project oozie-core: Compilation failure: Compilation failure:
      [ERROR] /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[24,37] package org.apache.directory.api.util does not exist
      [ERROR] /tmp/oozie-5.0.0/core/src/main/java/org/apache/oozie/util/db/FailingConnectionWrapper.java:[352,41] cannot find symbol
      [ERROR] symbol: variable Strings
      [ERROR] location: class org.apache.oozie.util.db.FailingConnectionWrapper.OozieDmlStatementPredicate
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR] mvn <goals> -rf :oozie-core

      Attachments

        1. OOZIE-3219.00.patch
          0.4 kB
          Artem Ervits
        2. OOZIE-3219.002.patch
          6 kB
          Andras Piros

        Issue Links

          Activity

            People

              dbist13 Artem Ervits
              dbist13 Artem Ervits
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: