Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Unable to Install Ambari using Blueprints

Explorer

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

4 REPLIES 4

Super Guru

@Raj ji

Can you please try with validate_topology=false

Expert Contributor
@Raj ji

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

Explorer

@Kuldeep Kulkarni

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

Expert Contributor

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?

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.