private void doSingleHostExportUpdate(Map<String, Map<String, PropertyUpdater>> updaters, Configuration configuration) {
    Map<String, Map<String, String>> properties = configuration.getFullProperties();
    for (Map.Entry<String, Map<String, PropertyUpdater>> entry : updaters.entrySet()) {
      String type = entry.getKey();
      Map<String, PropertyUpdater> propertyNameUpdaters = entry.getValue();
      for (Map.Entry<String, PropertyUpdater> propertyNameUpdater : propertyNameUpdaters.entrySet()) {
        String propertyName = propertyNameUpdater.getKey();
        PropertyUpdater propertyUpdater = propertyNameUpdater.getValue();
        boolean matchedHost = false;

        Map<String, String> typeProperties = properties.get(type);
        if (typeProperties != null && typeProperties.containsKey(propertyName)) {
          String propValue = typeProperties.get(propertyName);

          String replacedValue = propertyUpdater.updateForBlueprintExport(propertyName, propValue, properties, clusterTopology);
          if (!replacedValue.equals(propValue)) {
            matchedHost = true;
            configuration.setProperty(type, propertyName, replacedValue);
          }

          // remove properties that do not contain hostnames,
          // except in the case of HA-related properties, that
          // can contain nameservice references instead of hostnames (Fix for Bug AMBARI-7458).
          // also will not remove properties that reference the special 0.0.0.0 network
          // address or properties with undefined hosts
          if (!matchedHost &&
                  !isNameServiceProperty(propertyName) &&
                  !isDatabaseConnectionURL(propertyName) &&
                  !isSpecialNetworkAddress(propValue)  &&
                  !isUndefinedAddress(propValue) &&
                  !isPlaceholder(propValue)) {

            configuration.removeProperty(type, propertyName);
          }
        }
      }
    }
  }
Update single host topology configuration properties for blueprint export.

@param updaters       registered updaters
@param configuration  configuration being processed
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java