You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "brahmareddybattula (via GitHub)" <gi...@apache.org> on 2023/04/06 14:26:27 UTC
[GitHub] [ambari] brahmareddybattula commented on a diff in pull request #3681: Adapt Ambari 2.7.5 from python2 to python3.9[AMBARI-25854]
brahmareddybattula commented on code in PR #3681:
URL: https://github.com/apache/ambari/pull/3681#discussion_r1159874753
##########
ambari-agent/conf/unix/install-helper.sh:
##########
@@ -41,11 +41,11 @@ LOG_FILE=/dev/null
CLEANUP_MODULES="resource_management;ambari_commons;ambari_agent;ambari_ws4py;ambari_stomp;ambari_jinja2;ambari_simplejson"
-OLD_COMMON_DIR="/usr/lib/python2.6/site-packages/ambari_commons"
-OLD_RESOURCE_MANAGEMENT_DIR="/usr/lib/python2.6/site-packages/resource_management"
-OLD_JINJA_DIR="/usr/lib/python2.6/site-packages/ambari_jinja2"
-OLD_SIMPLEJSON_DIR="/usr/lib/python2.6/site-packages/ambari_simplejson"
-OLD_AMBARI_AGENT_DIR="/usr/lib/python2.6/site-packages/ambari_agent"
+OLD_COMMON_DIR="/usr/lib/python3.9/site-packages/ambari_commons"
+OLD_RESOURCE_MANAGEMENT_DIR="/usr/lib/python3.9/site-packages/resource_management"
+OLD_JINJA_DIR="/usr/lib/python3.9/site-packages/ambari_jinja2"
+OLD_SIMPLEJSON_DIR="/usr/lib/python3.9/site-packages/ambari_simplejson"
+OLD_AMBARI_AGENT_DIR="/usr/lib/python3.9/site-packages/ambari_agent"
Review Comment:
Can we extract to one variable so that we can change the python version in one place..?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For additional commands, e-mail: dev-help@ambari.apache.org