This is an automated email from the ASF dual-hosted git repository. adoroszlai pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push: new c0e396f9 AMBARI-25008. Set unique version tag for config created by Add Service (#2699) c0e396f9 is described below commit c0e396f9fcb98fcb6931be748e2187aa3352565c Author: Doroszlai, Attila <6454655+adorosz...@users.noreply.github.com> AuthorDate: Thu Dec 6 18:23:04 2018 +0100 AMBARI-25008. Set unique version tag for config created by Add Service (#2699) --- .../ambari/server/topology/addservice/ResourceProviderAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/ResourceProviderAdapter.java b/ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/ResourceProviderAdapter.java index 99f097b..3e23643 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/ResourceProviderAdapter.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/ResourceProviderAdapter.java @@ -344,7 +344,7 @@ public class ResourceProviderAdapter { ) { List<ConfigurationRequest> configRequests = configTypes .peek(configType -> LOG.info("Creating request for config type {} for {}", configType, addServiceRequest)) - .map(configType -> new ConfigurationRequest(addServiceRequest.clusterName(), configType, "ADD_SERVICE", + .map(configType -> new ConfigurationRequest(addServiceRequest.clusterName(), configType, "ADD_SERVICE_" + System.currentTimeMillis(), fullProperties.getOrDefault(configType, ImmutableMap.of()), fullAttributes.getOrDefault(configType, ImmutableMap.of()))) .collect(toList());