[
https://issues.apache.org/jira/browse/AMBARI-22252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16318135#comment-16318135
]
ASF GitHub Bot commented on AMBARI-22252:
-----------------------------------------
benyoka commented on a change in pull request #69: AMBARI-22252. Revert
incomplete Blueprint v2 work
URL: https://github.com/apache/ambari/pull/69#discussion_r160356723
##########
File path:
ambari-server/src/main/java/org/apache/ambari/server/topology/AmbariContext.java
##########
@@ -324,14 +327,22 @@ public Object call() throws Exception {
public void createAmbariServiceAndComponentResources(ClusterTopology
topology, String clusterName,
StackId stackId, Long repositoryVersionId) {
+
+ Set<String> serviceGroups = Sets.newHashSet(DEFAULT_SERVICE_GROUP_NAME);
Collection<String> services = topology.getBlueprint().getServices();
try {
Cluster cluster = getController().getClusters().getCluster(clusterName);
+ serviceGroups.removeAll(cluster.getServiceGroups().keySet());
Review comment:
How can the cluster have other service groups at this point?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Implement Blueprint v2 API changes
> ----------------------------------
>
> Key: AMBARI-22252
> URL: https://issues.apache.org/jira/browse/AMBARI-22252
> Project: Ambari
> Issue Type: Epic
> Components: ambari-server
> Reporter: Magyari Sandor Szilard
> Assignee: Robert Nettleton
> Fix For: 3.0.0
>
>
> Epic to cover task required to implement v2 Blueprints API changes.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)