I'm trying to add new nodes to an existing cluster through ambari api..I'm able to add datanodes, nodemanagers and clients referring this but to add services like spark, kafka, ranger, hive, etc for the first time to an existing cluster I'm not able to find an API that can add the service with "default configuration". I tried this but in ambari UI the configuration changes are not getting reflected. So instead of giving key values I would like to have the default configurations..
Thanks in advance!
This is exactly what you are looking for:
Should save you hours, developed by one of my colleagues, tried and tested.