You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2016/06/01 00:31:06 UTC

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

Repository: ambari
Updated Branches:
  refs/heads/trunk c2cd661ff -> 2491df226


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/2491df22
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2491df22
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2491df22

Branch: refs/heads/trunk
Commit: 2491df2263c35f1a541b111a410f606a8d60a786
Parents: c2cd661
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Tue May 31 17:31:05 2016 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Tue May 31 17:31:05 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/2491df22/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"]]