ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu, Tao" <Ta...@aware.com>
Subject RE: where is the python module ambari_agent located?
Date Wed, 18 Feb 2015 19:56:03 GMT
Thank you Jonathan!  I found those modules!

From: Jonathan Hurley [mailto:jhurley@hortonworks.com]
Sent: Wednesday, February 18, 2015 2:52 PM
To: user@ambari.apache.org
Subject: Re: where is the python module ambari_agent located?

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