【发布时间】:2020-06-13 16:12:46
【问题描述】:
我目前正在 Amazon EC2 linux 虚拟机上构建 Apache Spark,关注 these instructions。
我用于建筑的工具:
apache-maven: 3.2.5;
scala:2.10.4;
锌:0.3.5.3;
Java:jdk1.7.0_79
Linux 32 位
出现此错误消息:
Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.0:testCompile (scala-test-compile-first) on project spark-core_2.10: Execution scala-test-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.2.0:testCompile failed. CompileFailed -> [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/PluginExecutionException
该网站暗示该错误可能是由插件故障引起的,但未提供详细信息。问题是什么?有什么方法可以解决这个错误吗?
【问题讨论】:
-
您是否尝试过 -e 或 -X 进行更多调试?
-
是的,我做到了,它只会弹出更多难以跟踪的错误信息,太多了,无法将其包含在评论中:
-
@bcxuezhe39 你能发布你的pom文件吗? 这些说明的链接似乎已损坏
-
很抱歉没有及时看到您的共同点。奇怪的是,在google cluster上尝试了同样的操作后,构建成功了。仍然不知道为什么在 ec2 上构建还不起作用。内存是一个可能的问题吗? (google instance 有 3.75 GB 内存,ec2 micro instance 有 1gb)
标签: java scala maven amazon-web-services amazon-ec2