Azkaban Build Fail

151 views
Skip to first unread message

Le Anh Son

unread,
Jul 13, 2022, 6:44:59 AM7/13/22
to azkaban
I have task that is using Azkaban to schedule flow of pipeline. But in the first time install i deal with trouble. I run command "./gradlew build" and i recevie "Build Fail" notification. anyone can give solution? 


Configuration on demand is an incubating feature.

> Task :azkaban-web-server:restliTemplateGenerator
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

> Task :az-flow-trigger-dependency-plugin:compileJava FAILED
/home/son.le1/Desktop/Azkaban/azkaban/az-flow-trigger-dependency-plugin/src/main/java/azkaban/flowtrigger/DependencyPluginConfig.java:22: error: cannot access Object
public interface DependencyPluginConfig {
       ^
  bad class file: /modules/java.base/java/lang/Object.class
    class file has wrong version 55.0, should be 53.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error

> Task :az-core:compileJava FAILED
/home/son.le1/Desktop/Azkaban/azkaban/az-core/src/main/java/azkaban/Constants.java:19: error: cannot access Duration
import java.time.Duration;
                ^
  bad class file: /modules/java.base/java/time/Duration.class
    class file has wrong version 55.0, should be 53.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error

> Task :cached-http-filesystem:compileJava FAILED
/home/son.le1/Desktop/Azkaban/azkaban/cached-http-filesystem/src/main/java/azkaban/cachedhttpfilesystem/CachedHttpFileSystem.java:21: error: cannot access FileNotFoundException
import java.io.FileNotFoundException;
              ^
  bad class file: /modules/java.base/java/io/FileNotFoundException.class
    class file has wrong version 55.0, should be 53.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error

> Task :az-crypto:compileJava FAILED
/home/son.le1/Desktop/Azkaban/azkaban/az-crypto/src/main/java/azkaban/crypto/Decryptions.java:15: error: cannot access BufferedReader
import java.io.BufferedReader;
              ^
  bad class file: /modules/java.base/java/io/BufferedReader.class
    class file has wrong version 55.0, should be 53.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error

FAILURE: Build completed with 4 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':az-flow-trigger-dependency-plugin:compileJava'.
> Compilation failed with exit code 1; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':az-core:compileJava'.
> Compilation failed with exit code 1; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':cached-http-filesystem:compileJava'.
> Compilation failed with exit code 1; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

4: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':az-crypto:compileJava'.
> Compilation failed with exit code 1; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.0/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4s
29 actionable tasks: 8 executed, 21 up-to-date

Jeff Steinmetz

unread,
Aug 31, 2022, 1:26:04 PM8/31/22
to azkaban
Check this PR and fork I created, it may shed some light.

Reply all
Reply to author
Forward
0 new messages