This is an automated email from the ASF dual-hosted git repository.

aonishuk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 8bc8679  AMBARI-25123. /var/lib/ambari-agent/cache not updating 
(Ambari 2.7) (aonishuk)
8bc8679 is described below

commit 8bc86792ea24162a9f366926d660ce9d251db0da
Author: Andrew Onishuk <aonis...@hortonworks.com>
AuthorDate: Thu Jan 24 09:10:19 2019 +0200

    AMBARI-25123. /var/lib/ambari-agent/cache not updating (Ambari 2.7) 
(aonishuk)
---
 ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py 
b/ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
index 13829f9..4443db3 100644
--- a/ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
+++ b/ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
@@ -352,6 +352,7 @@ class CustomServiceOrchestrator(object):
 
         # forces a hash challenge on the directories to keep them updated, even
         # if the return type is not used
+        self.file_cache.get_host_scripts_base_dir(command)
         base_dir = self.file_cache.get_service_base_dir(command)
         script_path = self.resolve_script_path(base_dir, script)
         script_tuple = (script_path, base_dir)

Reply via email to