Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 03-16-2016 06:33 AM
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ambari_server/bootstrap.py", line 41, in <module>
from resource_management.core.shell import quote_bash_args
ImportError: No module named resource_management.core.shell
Created 03-16-2016 06:34 AM
Initially I installed manually ambari agent and that one I didn’t uninstall it properly. So, while running the ambari to deploy the agent, script is pointing to wrong link
resource_management -> /usr/lib/ambari-agent/lib/resource_management
instead of
resource_management -> /usr/lib/ambari-server/lib/resource_management
Solution:
goto
cd /usr/lib/python2.6/site-packages/
create the correct link
ln -s /usr/lib/ambari-server/lib/resource_management
installation agent is deployment is working fine.
Created 03-16-2016 06:34 AM
Initially I installed manually ambari agent and that one I didn’t uninstall it properly. So, while running the ambari to deploy the agent, script is pointing to wrong link
resource_management -> /usr/lib/ambari-agent/lib/resource_management
instead of
resource_management -> /usr/lib/ambari-server/lib/resource_management
Solution:
goto
cd /usr/lib/python2.6/site-packages/
create the correct link
ln -s /usr/lib/ambari-server/lib/resource_management
installation agent is deployment is working fine.
Created 04-11-2017 02:27 AM
You comment helped us too! However, on nodes running only ambari-agent the symlink should point to
/usr/lib/ambari-agent/lib/resource_management