Created 01-27-2018 09:39 PM
Hi All,
I'm unable to register blueprints to install Ambari multinode cluster . I'm getting the below error , I have used the below blueprints :
https://community.hortonworks.com/content/kbentry/47171/automate-hdp-installation-using-ambari-bluep...
and getting the below error :
}[root@master ~]# curl -H "X-Requested-By: ambari" -X POST -u admin:admin http://master.hadoop.com:8080/api/v1/clusters/multinode1 -d @hostmapping.json { "status" : 400, "message" : "Topology validation failed: org.apache.ambari.server.topology.InvalidTopologyException: Component [MYSQL_SERVER] must explicitly be set in the blueprint when hive database is configured with the current settings. HIVE service validation failed."
Kindly advise .
Steps taken - Installed Mysql server and tried . Still could not install . Added mysql entry in JSON file . Still didnt work out
Created 01-28-2018 06:10 AM
Can you please try with validate_topology=false
Created 01-30-2018 07:13 PM
When you added Mysql to the json file, did it look like "MYSQL_SERVER" ? That's the correct syntax for Ambari Blueprints to install Mysql.
If you did have it that way, was the error you received different? Perhaps you will need to uninstall the one you installed first.
Thanks,
John
Created 02-22-2018 02:52 PM
I have explicitly set [MYSQL_SERVER] & "validate_topology": "false" under cluster_config.json yet hitting the below listed error.
Any advise ?
[root@pratik-1 multinode]# vi cluster_config.json [root@pratik-1 multinode]# curl -H "X-Requested-By: ambari" -X POST -u admin:admin http://pratik-1.novalocal:8080/api/v1/clusters/multinode-hdp -d @hostmappings.json { "status" : 400, "message" : "Topology validation failed: org.apache.ambari.server.topology.InvalidTopologyException: Component [MYSQL_SERVER] must explicitly be set in the blueprint when hive database is configured with the current settings. HIVE service validation failed." }
Thanks,Pratik
,@Kuldeep Kulkarni: I am hitting similar error.
[root@pratik-1 multinode]# curl -H "X-Requested-By: ambari" -X POST -u admin:admin http://pratik-1.novalocal:8080/api/v1/clusters/multinode-hdp -d @hostmappings.json { "status" : 400, "message" : "Topology validation failed: org.apache.ambari.server.topology.InvalidTopologyException: Component [MYSQL_SERVER] must explicitly be set in the blueprint when hive database is configured with the current settings. HIVE service validation failed." }[root@pratik-1 multinode]#
Can you advise ?
[root@pratik-1 multinode]# cat cluster_config.json { "configurations": [], "host_groups": [{ "name": "host1", "components": [{ "name": "PIG" }, { "name": "METRICS_COLLECTOR" }, { "name": "KAFKA_BROKER" }, { "name": "MYSQL_SERVER" }, {
I have explicitly mentioned "MYSQL_SERVER" & Tried "validate_topology": "false" Yet no luck.
Thanks,
Pratik
Created 02-22-2018 04:07 PM
Hi @Pratik Kumar,
Are you following the entire process in the article you are following? Are you still trying to build an HDP 2.3 cluster? What version of Ambari have you installed?