ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srima...@apache.org
Subject ambari git commit: AMBARI-16915. Make storm.topology.submission.notifier.plugin.class property optional (Sivaguru Chendamaraikannan via srimanth)
Date Wed, 01 Jun 2016 00:31:40 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 8c1177c23 -> 90cab01bd


AMBARI-16915. Make storm.topology.submission.notifier.plugin.class property optional (Sivaguru
Chendamaraikannan via srimanth)


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

Branch: refs/heads/branch-2.4
Commit: 90cab01bd5c60ed0f899df94a31c818c10345699
Parents: 8c1177c
Author: Srimanth Gunturi <sgunturi@hortonworks.com>
Authored: Tue May 31 17:31:05 2016 -0700
Committer: Srimanth Gunturi <sgunturi@hortonworks.com>
Committed: Tue May 31 17:31:43 2016 -0700

----------------------------------------------------------------------
 .../src/main/resources/stacks/HDP/2.3/services/stack_advisor.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/90cab01b/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py b/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py
index 79314f5..0093c1a 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py
@@ -657,10 +657,11 @@ class HDP23StackAdvisor(HDP22StackAdvisor):
           notifier_plugin_value = ",".join(application_classes)
         else:
           notifier_plugin_value = " "
-      putStormStartupProperty(notifier_plugin_property, notifier_plugin_value)
 
-  def recommendFalconConfigurations(self, configurations, clusterData, services, hosts):
+      if notifier_plugin_value != " ":
+        putStormStartupProperty(notifier_plugin_property, notifier_plugin_value)
 
+  def recommendFalconConfigurations(self, configurations, clusterData, services, hosts):
     putFalconStartupProperty = self.putProperty(configurations, "falcon-startup.properties",
services)
     servicesList = [service["StackServices"]["service_name"] for service in services["services"]]
 


Mime
View raw message