xijunmu commented on PR #3778: URL: https://github.com/apache/ambari/pull/3778#issuecomment-2242606296
I found the .py file for the Ranger is not using python3. Can you modify the declaration to python3? We can ensure consistency in the python3 environment for all components. I use cmd "grep "/usr/bin/env python" src/* -rn" src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER/package/alerts/alert_ranger_admin_passwd_check.py:1:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER/package/scripts/params.py:1:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER/package/scripts/ranger_admin.py:1:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER/package/scripts/ranger_service.py:1:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER/package/scripts/ranger_tagsync.py:1:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER/package/scripts/ranger_usersync.py:1:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER/package/scripts/setup_ranger_xml.py:1:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER/package/scripts/status_params.py:1:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER/package/scripts/upgrade.py:2:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER_KMS/package/scripts/kms.py:1:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER_KMS/package/scripts/kms_server.py:1:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER_KMS/package/scripts/kms_service.py:1:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER_KMS/package/scripts/params.py:1:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER_KMS/package/scripts/service_check.py:1:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER_KMS/package/scripts/status_params.py:1:#!/usr/bin/env python src/main/resources/stacks/BIGTOP/3.3.0/services/RANGER_KMS/package/scripts/upgrade.py:1:#!/usr/bin/env python -- 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-unsubscr...@ambari.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ambari.apache.org For additional commands, e-mail: dev-h...@ambari.apache.org