ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From avija...@apache.org
Subject ambari git commit: AMBARI-14704 : Restart storm fails with a metrics storm sink jar related error sometimes - Commit 2. (avijayan)
Date Mon, 18 Jan 2016 17:22:25 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk ba3db6d79 -> 8684e4506


AMBARI-14704 : Restart storm fails with a metrics storm sink jar related error sometimes -
Commit 2. (avijayan)


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

Branch: refs/heads/trunk
Commit: 8684e45065b3849b9ba86588309f75c535cde39b
Parents: ba3db6d
Author: Aravindan Vijayan <avijayan@hortonworks.com>
Authored: Mon Jan 18 09:22:11 2016 -0800
Committer: Aravindan Vijayan <avijayan@hortonworks.com>
Committed: Mon Jan 18 09:22:15 2016 -0800

----------------------------------------------------------------------
 .../STORM/0.9.1.2.1/package/scripts/storm.py             | 11 -----------
 1 file changed, 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8684e450/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py
b/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py
index 98abb41..43736fa 100644
--- a/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py
+++ b/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py
@@ -87,17 +87,6 @@ def storm(name=None):
        group=params.user_group
   )
 
-    # Remove symlinks. They can be there, if you doing upgrade from HDP < 2.2 to HDP >=
2.2
-    Link(format("{storm_lib_dir}/ambari-metrics-storm-sink.jar"),
-         action="delete")
-    # On old HDP 2.1 versions, this symlink may also exist and break EU to newer versions
-    Link("/usr/lib/storm/lib/ambari-metrics-storm-sink.jar", action="delete")
-
-    Execute(format("{sudo} ln -s {metric_collector_sink_jar} {storm_lib_dir}/ambari-metrics-storm-sink.jar"),
-            not_if=format("ls {storm_lib_dir}/ambari-metrics-storm-sink.jar"),
-            only_if=format("ls {metric_collector_sink_jar}")
-    )
-
   File(format("{conf_dir}/storm-env.sh"),
        owner=params.storm_user,
        content=InlineTemplate(params.storm_env_sh_template)


Mime
View raw message