private Configurations updateConfigurationOfOldVersions(Configurations serviceConfig) {
    Map<String, String> updatedServiceConfigMap = serviceConfig.toMap();
    for (String key : DEFAULT_TIME_UNIT_IN_OLD_VERSIONS.keySet()) {
      if (updatedServiceConfigMap.containsKey(key)) {
        String value = updatedServiceConfigMap.get(key);
        String newValue = value + DEFAULT_TIME_UNIT_IN_OLD_VERSIONS.get(key);
        updatedServiceConfigMap.put(key, newValue);
      }
    }
    return Configurations.fromMap(updatedServiceConfigMap);
  }
Test for conflicts when parsing configuration files in older versions (< 0.8)
amoro-ams/src/test/java/org/apache/amoro/server/TestAmoroManagementConf.java