As I am deploying my cluster using blueprint but components installation failed on few hosts in the cluster. I have checked in stack_verison API endpoint the hosts on which components failed are HostStackVersions state is OUT_OF_SYNC. In ambari UI we can sync all host to use same HDF stack but I need REST API call to sync all host to use the same HDF version.