----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72542/ -----------------------------------------------------------
Review request for ranger, Attila Bukor, Ankita Sinha, Bolke de Bruin, Don Bosco Durai, bhavik patel, Colm O hEigeartaigh, Gautam Borad, Jayendra Parab, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Nikhil P, Nitin Galave, pengjianhua, Ramesh Mani, Selvamohan Neethiraj, Sailaja Polavarapu, Velmurugan Periasamy, Qiang Zhang, and Zsombor Gegesy. Bugs: RANGER-2759 https://issues.apache.org/jira/browse/RANGER-2759 Repository: ranger Description ------- This patch is extension of RANGER-2759 RR https://reviews.apache.org/r/7224 **Proposed statement:** Current Ranger's python script can run only in python 2 environment. They should run in python-3 as well. **Proposed Solution:** Python files Syntax need to be change in such a way that based on the python version right syntax should execute. Diffs ----- agents-common/scripts/upgrade-plugin.py fe7a11f00 kms/scripts/db_setup.py 7a0105eb2 kms/scripts/dba_script.py 91477c64b security-admin/scripts/changepasswordutil.py 6c73ed32f security-admin/scripts/changeusernameutil.py cb471f046 security-admin/scripts/db_setup.py 6670e6cf5 security-admin/scripts/dba_script.py e8895294e security-admin/scripts/deleteUserGroupUtil.py 04648b33f security-admin/scripts/ranger_credential_helper.py b36adeace security-admin/scripts/restrict_permissions.py 1ce54a563 security-admin/scripts/rolebasedusersearchutil.py 23e083974 security-admin/scripts/updateUserAndGroupNamesInJson.py f56e04842 security-admin/scripts/update_property.py 1eab56498 security-admin/scripts/upgrade_admin.py 28b7e9884 security-admin/src/bin/ranger_install.py 0cbe43dbc security-admin/src/bin/ranger_usersync.py 430958938 security-admin/src/bin/service_start.py 035a86c9b tagsync/scripts/setup.py 129330300 tagsync/scripts/updatetagadminpassword.py f3e302587 unixauthservice/scripts/setup.py 1dc1847ec unixauthservice/scripts/updatepolicymgrpassword.py bd6d7dd78 Diff: https://reviews.apache.org/r/72542/diff/1/ Testing ------- 1) Tested ranger admin and its various python utility. 2) Tested raner kms python script 3) Tested ranger usersync python script 4) Tested ranger tagsync python script Thanks, Pradeep Agrawal