You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2015/09/19 01:35:22 UTC

ambari git commit: AMBARI-13157. AMS Restart All fails after moving from embedded to distributed. (swagle)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 d40e669d1 -> 07629edc8


AMBARI-13157. AMS Restart All fails after moving from embedded to distributed. (swagle)


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

Branch: refs/heads/branch-2.1
Commit: 07629edc875a0eb414591a1f579988cf047fcbb2
Parents: d40e669
Author: Siddharth Wagle <sw...@hortonworks.com>
Authored: Fri Sep 18 16:34:49 2015 -0700
Committer: Siddharth Wagle <sw...@hortonworks.com>
Committed: Fri Sep 18 16:34:55 2015 -0700

----------------------------------------------------------------------
 .../AMBARI_METRICS/0.1.0/package/scripts/ams_service.py            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/07629edc/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams_service.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams_service.py b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams_service.py
index 0174aa2..8b2fa95 100644
--- a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams_service.py
+++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams_service.py
@@ -50,7 +50,7 @@ def ams_service(name, action):
       cmd = format("{cmd} --distributed")
 
     if action == 'start':
-      Execute(format('{sudo} rm -rf {hbase_tmp_dir}/*.tmp {zookeeper_data_dir}/*')
+      Execute(format("{sudo} rm -rf {hbase_tmp_dir}/*.tmp")
       )
 
       daemon_cmd = format("{cmd} start")