You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2015/06/02 15:04:01 UTC
[2/2] ambari git commit: AMBARI-11611. Delete incorrect Storm-HA
configs (dlysnichenko)
AMBARI-11611. Delete incorrect Storm-HA configs (dlysnichenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/1bb0a8da
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1bb0a8da
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1bb0a8da
Branch: refs/heads/trunk
Commit: 1bb0a8dad6da296dd06cc3b998c974389b2e765f
Parents: 3bb7a6d
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Tue Jun 2 16:03:25 2015 +0300
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Tue Jun 2 16:03:25 2015 +0300
----------------------------------------------------------------------
.../STORM/0.9.1.2.1/package/scripts/params_linux.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/1bb0a8da/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py b/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py
index fa31f04..6c3078b 100644
--- a/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py
+++ b/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py
@@ -102,8 +102,10 @@ if len(nimbus_hosts) > 1:
actual_topology_min_replication_count = 2
else:
actual_topology_max_replication_wait_time_sec = default_topology_max_replication_wait_time_sec
- actual_topology_min_replication_count = default_topology_min_replication_count
-
+ actual_topology_min_replication_count = default_topology_min_replication_count
+
+del config['configurations']['storm-site']['topology.max.replication.wait.time.sec.default']
+del config['configurations']['storm-site']['topology.min.replication.count.default']
rest_api_port = "8745"
rest_api_admin_port = "8746"
rest_api_conf_file = format("{conf_dir}/config.yaml")