Typical status commands don’t send down full configurations like start/stop do. Usually you’re just checking for a process to be up via checking a PID file in a known location.
Thanks, Nate On Jul 22, 2015, at 12:12 PM, Christian Tzolov <[email protected]<mailto:[email protected]>> wrote: (i'd wrongly posted this question to the dev list instead of asking here - sorry for the noise) Hi fellows, I'm working on a simple Service extension for Ambari 1.7. It looks like the Script.get_config() does not initialize the config files (e.g. my-site.xml) defined in the metainfo.xml, when the get_config is called inside the "status" method of the master script. An attempt to access the config['configuration']['my-site'] inside the status method throws the following error: >>> Configuration parameter \'my-site\' was not found in configurations >>> dictionary!' But the same configuration properties are accessible inside the "initialize", "start" and "stop" methods. Is there something special for the 'status' method initialization or am i overlooking some important detail? Would appreciate and ideas/advices. Also I can share the problem source code if needed Thanks, Christian -- Christian Tzolov<http://www.linkedin.com/in/tzolov> | Solution Architect, EMEA Practice Team | Pivotal<http://pivotal.io/> [email protected]<mailto:[email protected]>|+31610285517
