def _merge_configurations(recommended_configurations, custom_configurations):
  """Integrate Ambari's recommendation with user specified configuration."""
  for name, configuration in recommended_configurations.iteritems():
    properties = configuration['properties']
    properties.update(custom_configurations.get(name, {}))
    custom_configurations[name] = properties
  blueprint_format = [{k: v} for k, v in custom_configurations.iteritems()]
  return blueprint_format