在EC2上安装Apache Ignite

时间:2017-06-04 20:21:16

标签: apache amazon-ec2 ignite

我正在尝试在EC2(CentOS)上安装Apache Ignite。 下载最新的Ignite src(2.0)并安装了Java 1.8和MVN。

接下来尝试运行(在Ignite文件夹内)MVN设置但是失败了:

mvn clean package -DskipTests
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/apache/16/apache-16.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.ignite:ignite-parent:1: Could not transfer artifact org.apache:apache:pom:16 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.32.215] failed: Connection timed out (Connection timed out) and 'parent.relativePath' points at no local POM @ org.apache.ignite:ignite-parent:1, /home/ec2-user/ignite/apache-ignite-2.0.0-src/parent/pom.xml, line 29, column 13
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.ignite:apache-ignite:2.0.0 (/home/ec2-user/ignite/apache-ignite-2.0.0-src/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.apache.ignite:ignite-parent:1: Could not transfer artifact org.apache:apache:pom:16 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.32.215] failed: Connection timed out (Connection timed out) and 'parent.relativePath' points at no local POM @ org.apache.ignite:ignite-parent:1, /home/ec2-user/ignite/apache-ignite-2.0.0-src/parent/pom.xml, line 29, column 13 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

我可以在Mac上安装相同的方式,但没有出现此错误。可能有什么问题?是否可以设置不同的MVN以避免此错误?或者是EC2 / Apache Ignite兼容性有问题吗? (我无法将AMI用于Ignite,因为未批准在公司网络中使用)

感谢。

2 个答案:

答案 0 :(得分:1)

连接到maven存储库时出现问题,请检查是否可以从EC2计算机访问此repo:

  

连接到repo.maven.apache.org:443 [repo.maven.apache.org/151.101.32.215]失败:连接超时

没有必要从服务器上的src构建Ignite,您可以下载二进制文件并使用它们。

答案 1 :(得分:0)

安装ignite的最简单方法是:

  1. https://ignite.apache.org/下载ZIP包
  2. 提取内容
  3. 运行ignite_home / bin / ignite.sh