问题描述
我正在遵循指南:
https://cwiki.apache.org/confluence/display/AMBARI/Installation + Guide + for + Ambari + 2.7.5
以及此信息在CentOS 7上的Ambari 2.7.5安装失败,我设法克服了ambari-admin错误,但现在我遇到了一个新错误:
and with this infoAmbari 2.7.5 installation failure on CentOS 7, I managed to overcome the ambari-admin error, but now I am facing a new one :
[INFO] Ambari Main 2.7.5.0.0 .............................. SUCCESS [ 2.950 s]
[INFO] Apache Ambari Project POM 2.7.5.0.0 ................ SUCCESS [ 0.042 s]
[INFO] Ambari Web 2.7.5.0.0 ............................... SUCCESS [01:03 min]
[INFO] Ambari Views 2.7.5.0.0 ............................. SUCCESS [ 1.323 s]
[INFO] Ambari Admin View 2.7.5.0.0 ........................ SUCCESS [ 8.071 s]
[INFO] ambari-utility 1.0.0.0-SNAPSHOT .................... SUCCESS [ 1.393 s]
[INFO] ambari-metrics 2.7.5.0.0 ........................... SUCCESS [ 0.266 s]
[INFO] Ambari Metrics Common 2.7.5.0.0 .................... SUCCESS [ 5.458 s]
[INFO] Ambari Metrics Hadoop Sink 2.7.5.0.0 ............... SUCCESS [ 3.045 s]
[INFO] Ambari Metrics Flume Sink 2.7.5.0.0 ................ SUCCESS [ 1.904 s]
[INFO] Ambari Metrics Kafka Sink 2.7.5.0.0 ................ SUCCESS [ 1.897 s]
[INFO] Ambari Metrics Storm Sink 2.7.5.0.0 ................ SUCCESS [ 2.106 s]
[INFO] Ambari Metrics Storm Sink (Legacy) 2.7.5.0.0 ....... SUCCESS [ 2.369 s]
[INFO] Ambari Metrics Collector 2.7.5.0.0 ................. FAILURE [ 0.164 s]
[INFO] Ambari Metrics Monitor 2.7.5.0.0 ................... SKIPPED
[INFO] Ambari Metrics Grafana 2.7.5.0.0 ................... SKIPPED
[INFO] Ambari Metrics Host Aggregator 2.7.5.0.0 ........... SKIPPED
[ERROR] Failed to execute goal on project
ambari-metrics-timelineservice: Could not resolve dependencies for
project
org.apache.ambari:ambari-metrics-timelineservice:jar:2.7.5.0.0: The
following artifacts could not be resolved:
org.apache.phoenix:phoenix-core:jar:5.0.0.3.1.4.0-315,
org.apache.hadoop:hadoop-common:jar:3.1.1.3.1.4.0-315,
org.apache.hadoop:hadoop-annotations:jar:3.1.1.3.1.4.0-315,
org.apache.hadoop:hadoop-common:jar:tests:3.1.1.3.1.4.0-315,
org.apache.hadoop:hadoop-yarn-common:jar:tests:3.1.1.3.1.4.0-315,
org.apache.hadoop:hadoop-yarn-common:jar:3.1.1.3.1.4.0-315,
org.apache.hadoop:hadoop-yarn-api:jar:3.1.1.3.1.4.0-315,
org.apache.hadoop:hadoop-yarn-server-common:jar:3.1.1.3.1.4.0-315,
org.apache.phoenix:phoenix-core:jar:tests:5.0.0.3.1.4.0-315,
org.apache.hbase:hbase-testing-util:jar:2.0.2.3.1.4.0-315: Failure to
find org.apache.phoenix:phoenix-core:jar:5.0.0.3.1.4.0-315 in
https://repo.hortonworks.com/content/groups/public/ was cached in the
local repository, resolution will not be reattempted until the update
interval of apache-hadoop has elapsed or updates are forced -> [Help
1]
有什么建议吗?
推荐答案
您可以在错误中看到,依赖链至少包括
As you can see in the error, the dependency chain includes at least
org.apache.phoenix:phoenix-core:jar:5.0.0.3.1.4.0-315
,可通过以下网址访问
org.apache.phoenix:phoenix-core:jar:5.0.0.3.1.4.0-315
, which is accessible at
https://repo.hortonworks.com/content/groups/public/org/apache/phoenix/phoenix-core/
并且那里没有列出版本 3.1.4.0-315
,这将导致构建失败而没有其他存在此类软件包的位置,我不知道新软件包之外的任何内容评论中列出了Cloudera存储库.
And there is no version 3.1.4.0-315
listed there, which will cause the build to fail without some other location where such packages exist, which I am not aware of any outside of the new Cloudera repo listed in the comments.
这篇关于从源代码错误在Centos 7.8上构建Ambari 2.7.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!