Procházet zdrojové kódy

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

Siddharth Wagle před 10 roky
rodič
revize
02cdab026d

+ 1 - 1
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")