0

我无法注册蓝图来安装 Ambari 多节点集群。

我使用了以下蓝图:

curl -H "X-Requested-By: ambari" -X POST -u admin:admin http://$server:8080/api/v1/blueprints/HDP_PROD?validate_topology=false -d @/home/blueprint.json

我收到以下错误,

  "status" : 400,
  "message" : "Topology validation failed: org.apache.ambari.server.topology.InvalidTopologyException: The following config types are not defined in the stack: [hdfs-logsearch-conf, hive-logsearch-conf, mapred-logsearch-conf, spark2-logsearch-conf, ams-logsearch-conf, zookeeper-logsearch-conf, yarn-logsearch-conf, kafka-logsearch-conf] "

AmbariHDP版本是:

Ambari version – 2.7.4
HDP version 3.1.4

在蓝图 jaon 文件中,我们有

hdfs-logsearch-conf
hive-logsearch-conf, 
mapred-logsearch-conf,
spark2-logsearch-conf,
ams-logsearch-conf,
zookeeper-logsearch-conf,
yarn-logsearch-conf,
kafka-logsearch-conf

但不清楚 API 失败的原因:

The following config types are not defined in the stack

这是否意味着 stakambari 2.7.4不包括 - logsearch?

4

1 回答 1

0

关于日志搜索文件

logsearch-conf.xml 文件作为 jira 的一部分被删除https://issues.apache.org/jira/browse/AMBARI-21212

这些被删除,因为 xml 文件不用于配置。

于 2019-11-09T17:17:51.300 回答