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, <xiang....@sky-data.cn> 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 >