I tried to build Oozie on: - Debian GNU/Linux 8 (jessie) - Java 1.8.0_221 - Maven 3.6.3
with 'bin/mkdistro.sh -P uber -DskipTests -Dhadoop.version=2.7.4 -Dhive.version=2.1.1 -e' but I failed with the error like following: [*ERROR*] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile *(default-testCompile)* on project oozie-core: *Compilation failure*: Compilation failure: [*ERROR*] /tmp/oozie-5.2.0/core/src/test/java/org/apache/oozie/service/TestEventHandlerService.java:[213,47] cannot find symbol [*ERROR*] symbol: method getLevel() [*ERROR*] location: variable logEntry of type org.apache.log4j.spi.LoggingEvent [*ERROR*] /tmp/oozie-5.2.0/core/src/test/java/org/apache/oozie/service/TestEventHandlerService.java:[214,32] cannot find symbol [*ERROR*] symbol: method getMessage() [*ERROR*] location: variable logEntry of type org.apache.log4j.spi.LoggingEvent [*ERROR*] /tmp/oozie-5.2.0/core/src/test/java/org/apache/oozie/service/TestEventHandlerService.java:[215,82] cannot find symbol [*ERROR*] symbol: method getLoggerName() [*ERROR*] location: variable logEntry of type org.apache.log4j.spi.LoggingEvent [*ERROR*] /tmp/oozie-5.2.0/core/src/test/java/org/apache/oozie/service/TestEventHandlerService.java:[221,47] cannot find symbol [*ERROR*] symbol: method getLevel() [*ERROR*] location: variable logEntry of type org.apache.log4j.spi.LoggingEvent [*ERROR*] /tmp/oozie-5.2.0/core/src/test/java/org/apache/oozie/service/TestEventHandlerService.java:[222,32] cannot find symbol [*ERROR*] symbol: method getMessage() [*ERROR*] location: variable logEntry of type org.apache.log4j.spi.LoggingEvent [*ERROR*] /tmp/oozie-5.2.0/core/src/test/java/org/apache/oozie/service/TestEventHandlerService.java:[231,32] cannot find symbol [*ERROR*] symbol: method getMessage() [*ERROR*] location: variable logEntry of type org.apache.log4j.spi.LoggingEvent [*ERROR*] /tmp/oozie-5.2.0/core/src/test/java/org/apache/oozie/service/TestEventHandlerService.java:[240,32] cannot find symbol [*ERROR*] symbol: method getMessage() [*ERROR*] location: variable logEntry of type org.apache.log4j.spi.LoggingEvent [*ERROR*] /tmp/oozie-5.2.0/core/src/test/java/org/apache/oozie/sla/TestSLACalculatorMemory.java:[848,48] cannot find symbol [*ERROR*] symbol: method getLevel() [*ERROR*] location: variable firstLogEntry of type org.apache.log4j.spi.LoggingEvent [*ERROR*] /tmp/oozie-5.2.0/core/src/test/java/org/apache/oozie/sla/TestSLACalculatorMemory.java:[849,33] cannot find symbol [*ERROR*] symbol: method getMessage() [*ERROR*] location: variable firstLogEntry of type org.apache.log4j.spi.LoggingEvent [*ERROR*] /tmp/oozie-5.2.0/core/src/test/java/org/apache/oozie/sla/TestSLACalculatorMemory.java:[850,79] cannot find symbol [*ERROR*] symbol: method getLoggerName() [*ERROR*] location: variable firstLogEntry of type org.apache.log4j.spi.LoggingEvent [*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 <args> -rf :oozie-core* ERROR, Oozie distro creation failed Any idea?