Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HDP blueprint issue


HDP blueprint issue

Expert Contributor


Im trying to get a blueprint from my hdp cluster 2.5 (after upgrade from 2.4 to 2.5) but getting the response below:

any idea?

thanks! returns: { "status" : 400, "message" : "Invalid Request: Specified configuration type is not associated with any service: hst-common-conf" }


Re: HDP blueprint issue

Super Guru
@John Smith

Are you using smartsense? If not then try to remove host-common-conf using script on Ambari server


To get the configuration

sh /var/lib/ambari-server/resources/scripts/ get <ambari-server> <cluster-name> hst-common-conf

To delete the configuration

sh /var/lib/ambari-server/resources/scripts/ delete <ambari-server> <cluster-name> hst-common-conf

Please note - above command will delete the configuration, please run only if you know what you are doing :)

Re: HDP blueprint issue

@John Smith

It appears at one point SMARTSENSE was installed and the related configs were not removed when SMARTSENSE was removed.

You will need to remove the hst-common-conf and capture-levels configurations from the current cluster's database and then you can export a Blueprint. Here is what I would do:

  1. Stop Ambari
  2. Backup the Ambari database
  3. Execute the SQL statements presented below
  4. Start Ambari

SQL statements to remove the orphaned SMARTSENSE configurations:

delete from clusterconfigmapping where type_name in ('hst-common-conf', 'capture-levels');
delete from clusterconfig where type_name in ('hst-common-conf', 'capture-levels');
Don't have an account?
Coming from Hortonworks? Activate your account here