From 8bc86792ea24162a9f366926d660ce9d251db0da Mon Sep 17 00:00:00 2001 From: Andrew Onishuk Date: Thu, 24 Jan 2019 09:10:19 +0200 Subject: [PATCH] AMBARI-25123. /var/lib/ambari-agent/cache not updating (Ambari 2.7) (aonishuk) --- .../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 13829f9697d..4443db37320 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 @@ def runCommand(self, command_header, tmpoutfile, tmperrfile, forced_command_name # 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)