In my case, i define a stack and install a service. 

For start/stop, i need to do some test, so i edit service script under stack. 

Then restart server, not sync. 

Then restart agent, still not. 

Does it need time to sync or it is real-time? 


From: "David Quiroga" <[email protected]> 
To: "user" <[email protected]> 
Sent: Monday, May 21, 2018 1:20:31 AM 
Subject: Re: when agent sync service scripts 

The agent code cache should update when the agents check-in to the server. 
Believe check-in occurs after the server is restarted and/or after an agent is 
restarted. 

Is the python? code in the standard location 
ambari-server/resources/common-services/YOUR_SERVICE/VERSION/package/scripts/ 
Or what type of code update are you attempting. 


On Sat, May 19, 2018 at 1:37 AM, < [email protected] > wrote: 



I install a custom stack in VM, then i want to update some codes for a 
installed service. 

But when i restart server, the codes in agent does not update. 

Then i restart agent, still failed. 

So when agent sync service scripts? 

Thanks 




Reply via email to