Repository: ambari
Updated Branches:
  refs/heads/branch-feature-AMBARI-18456 5dff9acdc -> aa29f56cb


AMBARI-18546. Part_2.BP format does not generate property 
oozie.service.JPAService.jdbc.url.(vbrodetskyi)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/645b2fbe
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/645b2fbe
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/645b2fbe

Branch: refs/heads/branch-feature-AMBARI-18456
Commit: 645b2fbe4be05a754618aa0a4790e351813b026e
Parents: 61442de
Author: Vitaly Brodetskyi <vbrodets...@hortonworks.com>
Authored: Mon Oct 17 00:36:44 2016 +0300
Committer: Vitaly Brodetskyi <vbrodets...@hortonworks.com>
Committed: Mon Oct 17 00:36:44 2016 +0300

----------------------------------------------------------------------
 .../internal/BlueprintConfigurationProcessorTest.java           | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/645b2fbe/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
index b49abe9..15fd4e7 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
@@ -1694,6 +1694,11 @@ public class BlueprintConfigurationProcessorTest {
     hostGroups.add(group);
     hostGroups.add(group2);
 
+    if (BlueprintConfigurationProcessor.singleHostTopologyUpdaters != null &&
+            
BlueprintConfigurationProcessor.singleHostTopologyUpdaters.containsKey("oozie-site"))
 {
+      
BlueprintConfigurationProcessor.singleHostTopologyUpdaters.get("oozie-site").remove("oozie.service.JPAService.jdbc.url");
+    }
+
     ClusterTopology topology = createClusterTopology(bp, clusterConfig, 
hostGroups);
     BlueprintConfigurationProcessor configProcessor = new 
BlueprintConfigurationProcessor(topology);
 

Reply via email to