You can find all of the common and agent scripts located in site-packages of 
python. For example:

ls -l /usr/lib/python2.6/site-packages/
drwxr-xr-x  4 root root 4096 Feb 18 18:21 ambari_agent
drwxr-xr-x  3 root root 4096 Feb 18 18:23 ambari_commons
lrwxrwxrwx  1 root root   46 Feb 18 18:22 resource_management -> 
/usr/lib/ambari-server/lib/resource_management

On Feb 18, 2015, at 2:27 PM, Yu, Tao <ta...@aware.com<mailto:ta...@aware.com>> 
wrote:

Hi,

Storm was supported starting from HDP 2.1. In storm.py (under 
/var/lib/ambari-server/resources/stacks/HDP/2.1/services/STORM/package/scripts),
 I noticed that it imports ambari_agent module. But couldn’t find where this 
ambari_agent module is.

Does anyone know where this ambari_agent module located?

Thanks,
-Tao

Reply via email to