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

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


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

commit 11fd4eb25c8bd4d744c532e853d8bfad72a7b77b
Author: Andrew Onishuk <aonis...@hortonworks.com>
AuthorDate: Fri Feb 1 11:20:49 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 6d15e78..1ce2ae5 100644
--- a/ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
+++ b/ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
@@ -347,6 +347,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