protected String updateInfraSolrEnv(String content) {
    return content.replaceAll("SOLR_KERB_NAME_RULES=\".*\"", "")
            .replaceAll("#*SOLR_HOST=\".*\"", "SOLR_HOST=`hostname -f`")
            .replaceAll("SOLR_AUTHENTICATION_CLIENT_CONFIGURER=\".*\"", "SOLR_AUTH_TYPE=\"kerberos\"");
  }
@return a map describing the new LDAP configuration key to the old ambari.properties property name
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog270.java