ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Hurley <jhur...@hortonworks.com>
Subject Re: where is the python module ambari_agent located?
Date Wed, 18 Feb 2015 19:52:05 GMT
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 <TaoYu@aware.com<mailto:TaoYu@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


Mime
View raw message