[ https://issues.apache.org/jira/browse/AMBARI-25899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704954#comment-17704954 ]
Brahma Reddy Battula commented on AMBARI-25899: ----------------------------------------------- This is for just validation right..? Are you going to raise PR for this..? > Using Python Official Script "2to3" to Upgreade > ------------------------------------------------ > > Key: AMBARI-25899 > URL: https://issues.apache.org/jira/browse/AMBARI-25899 > Project: Ambari > Issue Type: Sub-task > Components: ambari-admin, ambari-client, ambari-server > Affects Versions: 2.7.5 > Environment: {*}Ambari:{*}Ambari-2.7.5 > *OS:* OpenEuler-22.03 > *Python:* Python 3.9.9 > Reporter: Charming Wu > Priority: Major > Labels: Ambari, autoUpgrade, python2, python3 > > First of all, this first subtask is the basis of Ambari python3 adaption. > > 1. Dowload Ambari source code here: > [https://github.com/apache/ambari/releases/tag/release-2.7.5] > > 2. Install 2to3 in your environment( if you had install it, skip this step): > _pip install 2to3_ > > 3. Upgrade Ambari Python Files: > _cd apache-ambari-2.7.5-src_ > _python3 /usr/bin/2to3 -w ._ > > Attention: this upgrade will overwrite the src code. > __ > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org For additional commands, e-mail: issues-h...@ambari.apache.org