This is an automated email from the ASF dual-hosted git repository.

aonishuk pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.6 by this push:
     new 333292f  AMBARI-22983. Add Hosts is Failing with Error while 
bootstrapping: Cannot run program 
"/usr/lib/python2.6/site-packages/ambari_server/bootstrap.py" (aonishuk)
333292f is described below

commit 333292fa0e9e9ff6dc95f28bdeb3e2bd6c3ad3cf
Author: Andrew Onishuk <aonis...@hortonworks.com>
AuthorDate: Wed Feb 14 13:26:46 2018 +0200

    AMBARI-22983. Add Hosts is Failing with Error while bootstrapping: Cannot 
run program "/usr/lib/python2.6/site-packages/ambari_server/bootstrap.py" 
(aonishuk)
---
 ambari-server/src/main/python/ambari_server/serverConfiguration.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ambari-server/src/main/python/ambari_server/serverConfiguration.py 
b/ambari-server/src/main/python/ambari_server/serverConfiguration.py
index 909ac89..380e814 100644
--- a/ambari-server/src/main/python/ambari_server/serverConfiguration.py
+++ b/ambari-server/src/main/python/ambari_server/serverConfiguration.py
@@ -1200,6 +1200,7 @@ def update_ambari_properties():
       new_properties.load(hfNew)
 
     for prop_key, prop_value in old_properties.getPropertyDict().items():
+      prop_value = prop_value.replace("/usr/lib/python2.6/site-packages", 
"/usr/lib/ambari-server/lib")
       if "agent.fqdn.service.url" == prop_key:
         # what is agent.fqdn property in ambari.props?
         new_properties.process_pair(GET_FQDN_SERVICE_URL, prop_value)

-- 
To stop receiving notification emails like this one, please contact
aonis...@apache.org.

Reply via email to