azkaban build报错

怼烎@ 2023-06-14 10:40 56阅读 0赞

报错信息:

  1. FAILURE: Build failed with an exception.
  2. * What went wrong:
  3. Execution failed for task ':azkaban-common:test'.
  4. > Process 'Gradle Test Executor 6' finished with non-zero exit value 137
  5. This problem might be caused by incorrect test process configuration.
  6. Please refer to the test execution section in the user guide at https://docs.gradle.org/4.6/userguide/java_plugin.html#sec:test_execution
  7. * Try:
  8. 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.
  9. * Get more help at https://help.gradle.org
  10. BUILD FAILED in 23m 1s

上谷歌查了一下,大概原因是因为内存不够导致。

解决方案:

  1. ./gradlew build --no-daemon

然后就行了

  1. Task :azkaban-web-server:compileTestJava
  2. Note: /opt/azkaban/azkaban-web-server/src/test/java/azkaban/webapp/AzkabanWebServerTest.java uses or overrides a deprecated API.
  3. Note: Recompile with -Xlint:deprecation for details.
  4. Note: /opt/azkaban/azkaban-web-server/src/test/java/azkaban/scheduler/QuartzJobDescriptionTest.java uses unchecked or unsafe operations.
  5. Note: Recompile with -Xlint:unchecked for details.
  6. BUILD SUCCESSFUL in 4m 29s
  7. 105 actionable tasks: 44 executed, 61 up-to-date

发表评论

表情:
评论列表 (有 0 条评论,56人围观)

还没有评论,来说两句吧...

相关阅读