我遵循指南:
https://cwiki.apache.org/confluence/display/ambari/installation+guide+for+ambari+2.7.5
通过在centos 7上安装ambari 2.7.5失败的信息,我成功地克服了ambari管理错误,但现在我面临一个新的错误:
[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]
有什么建议吗?
2条答案
按热度按时间nukf8bse1#
似乎有用。我所做的:(将0-315版本替换为1-1)
apache-ambari-2.7.5-src/ambari-metrics
在pom.xml中替换
:%s/0-315/1-1/g
apache-ambari-2.7.5-src/ambari-metrics/ambari-metrics-timelineservice
pom.xml文件
6jygbczu2#
正如您在错误中看到的,依赖关系链至少包含
org.apache.phoenix:phoenix-core:jar:5.0.0.3.1.4.0-315
,可在https://repo.hortonworks.com/content/groups/public/org/apache/phoenix/phoenix-core/
没有版本
3.1.4.0-315
在那里列出,这将导致构建失败,而没有一些其他位置存在这样的包,我不知道任何新的cloudera回购以外的意见中列出。