[ https://issues.apache.org/jira/browse/AMBARI-26028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17795937#comment-17795937 ]
Wilson M Penha Jr. commented on AMBARI-26028: --------------------------------------------- I got this same issue and I got to replace it all with python2 and the build finished and I was able to install ambari-server, but there are still many things to be done to make it work 100% I use "sed" to change all .py/.py.j2 files > ambiguous python shebang and mangling shebang error on CentOS 8 series > ---------------------------------------------------------------------- > > Key: AMBARI-26028 > URL: https://issues.apache.org/jira/browse/AMBARI-26028 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.8.0 > Environment: {code:bash} > $ cat /etc/os-release > NAME="Rocky Linux" > VERSION="8.8 (Green Obsidian)" > ID="rocky" > ID_LIKE="rhel centos fedora" > VERSION_ID="8.8" > PLATFORM_ID="platform:el8" > PRETTY_NAME="Rocky Linux 8.8 (Green Obsidian)" > ANSI_COLOR="0;32" > LOGO="fedora-logo-icon" > CPE_NAME="cpe:/o:rocky:rocky:8:GA" > HOME_URL="https://rockylinux.org/" > BUG_REPORT_URL="https://bugs.rockylinux.org/" > SUPPORT_END="2029-05-31" > ROCKY_SUPPORT_PRODUCT="Rocky-Linux-8" > ROCKY_SUPPORT_PRODUCT_VERSION="8.8" > REDHAT_SUPPORT_PRODUCT="Rocky Linux" > REDHAT_SUPPORT_PRODUCT_VERSION="8.8" > {code} > Reporter: Kane > Priority: Major > Labels: RedHat > > I tried to build the ambari-release-2.8.0-rc1 version on Rocky Linux 8.8, but > It can not be completed. > Error as: > {code:bash} > [INFO] Copying files to > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/tmp-buildroot/etc > [INFO] Copying files to > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/tmp-buildroot/usr/sbin > [INFO] Copying files to > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/tmp-buildroot/usr/lib/ambari-server > [INFO] Copying files to > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/tmp-buildroot/var/lib/ambari-server > [INFO] Copying files to > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/tmp-buildroot/var/log/ambari-server > [INFO] Mapping empty with destination: ambari-server > [INFO] Copying files to > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/tmp-buildroot/var/run/ambari-server > [INFO] Creating spec file > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/SPECS/ambari-server.spec > [DEBUG] writing attribute string for identified files in directory: /etc > [DEBUG] writing attribute string for identified files in directory: /usr/sbin > [DEBUG] writing attribute string for directory: /usr/lib/ambari-server > [DEBUG] writing attribute string for directory: /var/lib/ambari-server > [DEBUG] writing attribute string for directory: /var/log/ambari-server > [DEBUG] writing attribute string for directory: /var/run/ambari-server > [DEBUG] About to execute '/bin/sh -c cd > '/home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/SPECS' > && 'rpmbuild' '-bb' '--target' 'x86_64-redhat-linux' '--buildroot' > '/home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/buildroot' > '--define' '_topdir > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server' > '--define' '_build_name_fmt > %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm' '--define' '_builddir > %{_topdir}/BUILD' '--define' '_rpmdir %{_topdir}/RPMS' '--define' '_sourcedir > %{_topdir}/SOURCES' '--define' '_specdir %{_topdir}/SPECS' '--define' > '_srcrpmdir %{_topdir}/SRPMS' 'ambari-server.spec'' > [INFO] Building target platforms: x86_64-redhat-linux > [INFO] Building for target x86_64-redhat-linux > [INFO] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.S5kaKk > [INFO] + umask 022 > [INFO] + cd > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/BUILD > [INFO] + '[' > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/buildroot > '!=' / ']' > [INFO] + rm -rf > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/buildroot > [INFO] ++ dirname > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/buildroot > [INFO] + mkdir -p > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server > [INFO] + mkdir > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/buildroot > [INFO] + '[' -d > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/buildroot > ']' > [INFO] + mv > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/tmp-buildroot/etc > > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/tmp-buildroot/usr > > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/tmp-buildroot/var > > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/buildroot > [INFO] + chmod -R +w > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/buildroot > [INFO] + /usr/lib/rpm/check-buildroot > [INFO] + /usr/lib/rpm/redhat/brp-ldconfig > [INFO] /sbin/ldconfig: Warning: ignoring configuration file that cannot be > opened: > /home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/buildroot/etc/ld.so.conf: > No such file or directory > [INFO] + /usr/lib/rpm/brp-compress > [INFO] + /usr/lib/rpm/brp-strip /usr/bin/strip > [INFO] /usr/bin/strip: Unable to recognise the format of the input file > `/home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/buildroot/usr/lib/ambari-server/lib/ambari_commons/libs/ppc64le/_posixsubprocess.so' > [INFO] /usr/bin/strip: Unable to recognise the format of the input file > `/home/kane/ambari-release-2.8.0-rc1/ambari-server/target/rpm/ambari-server/buildroot/usr/lib/ambari-server/lib/ambari_simplejson/_speedups/ppc/_speedups.so' > [INFO] + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump > [INFO] + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip > [INFO] + /usr/lib/rpm/brp-python-bytecompile '' 1 > [INFO] + /usr/lib/rpm/brp-python-hardlink > [INFO] + PYTHON3=/usr/libexec/platform-python > [INFO] + /usr/lib/rpm/redhat/brp-mangle-shebangs > [INFO] mangling shebang in /etc/init.d/ambari-server from /usr/bin/env bash > to #!/usr/bin/bash > [INFO] *** WARNING: ./etc/ambari-server/conf/ambari.properties is executable > but has no shebang, removing executable bit > [INFO] *** WARNING: ./etc/ambari-server/conf/log4j.properties is executable > but has no shebang, removing executable bit > [INFO] *** WARNING: ./etc/ambari-server/conf/metrics.properties is executable > but has no shebang, removing executable bit > [INFO] *** WARNING: ./etc/ambari-server/conf/krb5JAASLogin.conf is executable > but has no shebang, removing executable bit > [INFO] *** WARNING: ./etc/init/ambari-server.conf is executable but has no > shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in /usr/sbin/ambari-server.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/sbin/ambari_server_main.py: #!/usr/bin/env python. Change it to python3 > (or python2) explicitly. > [INFO] mangling shebang in > /usr/lib/ambari-server/lib/ambari_server/bootstrap.py from /usr/bin/env > ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/setupAgent.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] mangling shebang in > /usr/lib/ambari-server/lib/ambari_server/BackupRestore.py from /usr/bin/env > ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/__init__.py: #!/usr/bin/env python. > Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/ambariPath.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/checkDatabase.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/dbCleanup.py: #!/usr/bin/env python. > Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/dbConfiguration.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/dbConfiguration_linux.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/dbConfiguration_windows.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/enableStack.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/hostUpdate.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/kerberos_setup.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/properties.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/resourceFilesKeeper.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/serverClassPath.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/serverConfiguration.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/serverSetup.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/serverUpgrade.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/serverUtils.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/setupActions.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/setupHttps.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/setupMpacks.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/setupSecurity.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/setupSso.py: #!/usr/bin/env python. > Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/setupTrustedProxy.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/userInput.py: #!/usr/bin/env python. > Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/ambari_server/utils.py: #!/usr/bin/env python. > Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /usr/lib/ambari-server/lib/resource_management/libraries/functions/generate_logfeeder_input_config.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: ./usr/lib/ambari-server/web/api-docs/lib/bootstrap.min.js > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: ./var/lib/ambari-server/keys/db/serial is executable but > has no shebang, removing executable bit > [INFO] *** WARNING: ./var/lib/ambari-server/keys/ca.config is executable but > has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/blueprints/multinode-default.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/blueprints/singlenode-default.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/configuration/cluster-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/properties/stack_features.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/properties/stack_packages.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/properties/stack_tools.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/repos/repoinfo.xml is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/AMBARI-METRICS/metainfo.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/configuration/flink-conf.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/configuration/flink-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/configuration/flink-log4j-cli-properties.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/configuration/flink-log4j-console-properties.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/configuration/flink-log4j-properties.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/configuration/flink-log4j-session-properties.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/package/scripts/flink_client.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/package/scripts/flink_history_server.py: > #!/usr/bin/python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/package/scripts/flink_service.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/package/scripts/params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/package/scripts/service_check.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/package/scripts/setup_flink.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/package/scripts/status_params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/quicklinks/quicklinks.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/alerts.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/kerberos.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/metainfo.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/FLINK/role_command_order.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/configuration/hbase-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/configuration/hbase-log4j.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/configuration/hbase-policy.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/configuration/hbase-site.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/configuration/ranger-hbase-audit.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/configuration/ranger-hbase-plugin-properties.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/configuration/ranger-hbase-policymgr-ssl.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/configuration/ranger-hbase-security.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/files/hbase-smoke-cleanup.sh > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/files/hbaseSmokeVerify.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/__init__.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/functions.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/hbase.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/hbase_client.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/hbase_decommission.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/hbase_master.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/hbase_regionserver.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/hbase_service.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/hbase_upgrade.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/params_linux.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/params_windows.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/service_check.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/setup_ranger_hbase.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/status_params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/scripts/upgrade.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/templates/hadoop-metrics2-hbase.properties-GANGLIA-MASTER.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/templates/hadoop-metrics2-hbase.properties-GANGLIA-RS.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/templates/hbase-smoke.sh.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/templates/hbase.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/templates/hbase_client_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/templates/hbase_grant_permissions.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/templates/hbase_master_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/templates/hbase_queryserver_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/templates/hbase_regionserver_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/templates/input.config-hbase.json.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/package/templates/regionservers.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/quicklinks/quicklinks.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/themes/directories.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/themes/theme.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/alerts.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/kerberos.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/metainfo.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/metrics.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/role_command_order.json > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/service_advisor.py > from /usr/bin/env ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HBASE/widgets.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/configuration/core-site.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/configuration/hadoop-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/configuration/hadoop-policy.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/configuration/hdfs-log4j.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/configuration/hdfs-site.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/configuration/ssl-client.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/configuration/ssl-server.xml > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/alerts/alert_checkpoint_time.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/alerts/alert_datanode_unmounted_data_dir.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/alerts/alert_ha_namenode_health.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/alerts/alert_metrics_deviation.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/alerts/alert_upgrade_finalized.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/files/checkWebUI.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/balancer-emulator/balancer-err.log > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/balancer-emulator/balancer.log > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/balancer-emulator/hdfs-command.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/__init__.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/datanode.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/datanode_upgrade.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/hdfs.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/hdfs_client.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/hdfs_datanode.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/hdfs_namenode.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/hdfs_nfsgateway.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/hdfs_rebalance.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/hdfs_snamenode.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/install_params.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/journalnode.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/journalnode_upgrade.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/namenode.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/namenode_ha_state.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/namenode_upgrade.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/nfsgateway.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/params.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/params_linux.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/params_windows.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/service_check.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/setup_ranger_hdfs.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/snamenode.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/status_params.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/utils.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/scripts/zkfc_slave.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/templates/exclude_hosts_list.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/templates/hdfs.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/templates/hdfs_dn_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/templates/hdfs_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/templates/hdfs_jn_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/templates/hdfs_nn_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/templates/include_hosts_list.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/package/templates/slaves.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/quicklinks/quicklinks.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/themes/directories.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/alerts.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/kerberos.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/metainfo.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/metrics.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/role_command_order.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HDFS/widgets.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/beeline-log4j2.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/hcat-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/hive-atlas-application.properties.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/hive-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/hive-exec-log4j2.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/hive-log4j2.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/hive-site.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/hivemetastore-site.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/hiveserver2-site.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/llap-cli-log4j2.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/llap-daemon-log4j.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/parquet-logging.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/ranger-hive-audit.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/ranger-hive-plugin-properties.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/ranger-hive-policymgr-ssl.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/ranger-hive-security.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/webhcat-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/webhcat-log4j.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/configuration/webhcat-site.xml > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/alerts/alert_hive_interactive_thrift_port.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/alerts/alert_hive_metastore.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/alerts/alert_hive_sys_db.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/alerts/alert_hive_thrift_port.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/alerts/alert_llap_app_status.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/etc/hive-schema-0.12.0.mysql.sql > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/etc/hive-schema-0.12.0.oracle.sql > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/etc/hive-schema-0.12.0.postgres.sql > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/etc/hive-schema-0.13.0.mysql.sql > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/etc/hive-schema-0.13.0.oracle.sql > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/etc/hive-schema-0.13.0.postgres.sql > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/etc/upgrade-0.12.0-to-0.13.0.oracle.sql > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/etc/upgrade-0.13.0.oracle.sql > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/files/addMysqlUser.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/files/hcatSmoke.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/files/hiveSmoke.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/files/hiveTezSetup.cmd > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/files/hiveserver2.sql > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/files/hiveserver2Smoke.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/files/pigSmoke.sh > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/files/removeMysqlUser.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/files/startMetastore.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/files/templetonSmoke.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/__init__.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/hcat.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/hcat_client.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/hcat_service_check.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/hive.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/hive_client.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/hive_metastore.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/hive_server.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/hive_server_upgrade.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/hive_service.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/mysql_server.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/mysql_service.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/mysql_users.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/mysql_utils.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/post_upgrade.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/service_check.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/setup_ranger_hive.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/status_params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/webhcat.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/webhcat_server.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/webhcat_service.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/webhcat_service_check.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/templates/hadoop-metrics2-hivemetastore.properties.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/templates/hadoop-metrics2-hiveserver2.properties.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/templates/hadoop-metrics2-llapdaemon.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/templates/hadoop-metrics2-llaptaskscheduler.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/templates/hive.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/templates/input.config-hive.json.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/templates/startHiveserver2.sh.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/templates/startHiveserver2Interactive.sh.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/templates/templeton_smoke.pig.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/templates/zkmigrator_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/quicklinks/quicklinks.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/themes/credentials.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/themes/database.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/themes/directories.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/themes/theme.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/alerts.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/kerberos.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/metainfo.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/role_command_order.json > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/HIVE/service_advisor.py > from /usr/bin/env ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/configuration/kafka-broker.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/configuration/kafka-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/configuration/kafka-log4j.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/configuration/kafka_client_jaas_conf.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/configuration/kafka_jaas_conf.xml > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/package/scripts/kafka.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/package/scripts/kafka_broker.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/package/scripts/params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/package/scripts/service_check.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/package/scripts/status_params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/package/scripts/upgrade.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/package/scripts/utils.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/package/templates/input.config-kafka.json.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/package/templates/kafka.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/package/templates/kafka_client_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/package/templates/kafka_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/package/templates/tools-log4j.properties.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/themes/directories.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/alerts.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/kerberos.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/metainfo.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/metrics.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/role_command_order.json > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/service_advisor.py > from /usr/bin/env ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KAFKA/widgets.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KERBEROS/configuration/kerberos-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KERBEROS/configuration/krb5-conf.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KERBEROS/package/scripts/kerberos_client.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KERBEROS/package/scripts/params.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KERBEROS/package/scripts/service_check.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KERBEROS/package/scripts/status_params.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KERBEROS/properties/krb5_conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KERBEROS/kerberos.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/KERBEROS/metainfo.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/configuration/solr-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/configuration/solr-log4j.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/configuration/solr-security-json.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/configuration/solr-xml.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/package/scripts/params.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/package/scripts/service_check.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/package/scripts/setup_solr.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/package/scripts/solr.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/package/scripts/status_params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/package/templates/solr-security.json.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/package/templates/solr.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/package/templates/solr_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/properties/solr-log4j2.xml.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/properties/solr.xml.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/quicklinks/quicklinks.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/themes/directories.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/themes/theme.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/kerberos.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/metainfo.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/role_command_order.json > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SOLR/service_advisor.py > from /usr/bin/env ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/configuration/spark-defaults.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/configuration/spark-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/configuration/spark-hive-site-override.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/configuration/spark-log4j-properties.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/configuration/spark-metrics-properties.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/configuration/spark-thrift-fairscheduler.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/package/scripts/alerts/alert_spark_thrift_port.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/package/scripts/job_history_server.py: > #!/usr/bin/python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/package/scripts/params.py: > #!/usr/bin/python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/package/scripts/service_check.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/package/scripts/setup_spark.py: > #!/usr/bin/python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/package/scripts/spark_client.py: > #!/usr/bin/python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/package/scripts/spark_service.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/package/scripts/spark_thrift_server.py: > #!/usr/bin/python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/package/scripts/status_params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/package/templates/input.config-spark.json.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/quicklinks/quicklinks.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/themes/directories.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/alerts.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/kerberos.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/metainfo.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/role_command_order.json > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/SPARK/service_advisor.py > from /usr/bin/env ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/TEZ/configuration/tez-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/TEZ/configuration/tez-site.xml > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/TEZ/package/scripts/params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/TEZ/package/scripts/params_linux.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/TEZ/package/scripts/params_windows.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/TEZ/package/scripts/pre_upgrade.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/TEZ/package/scripts/service_check.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/TEZ/package/scripts/tez.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/TEZ/package/scripts/tez_client.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/TEZ/themes/directories.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/TEZ/kerberos.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/TEZ/metainfo.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/TEZ/role_command_order.json > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/TEZ/service_advisor.py > from /usr/bin/env ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/configuration-mapred/mapred-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/configuration-mapred/mapred-site.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/configuration/capacity-scheduler.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/configuration/container-executor.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/configuration/yarn-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/configuration/yarn-log4j.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/configuration/yarn-site.xml > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/alerts/alert_nodemanager_health.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/alerts/alert_nodemanagers_summary.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/files/validateYarnComponentStatusWindows.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/__init__.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/application_timeline_server.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/historyserver.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/install_jars.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/mapred_service_check.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/mapreduce2_client.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/nodemanager.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/nodemanager_upgrade.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/params_linux.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/params_windows.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/resourcemanager.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/service.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/service_check.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/setup_ranger_yarn.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/status_params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/yarn.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/scripts/yarn_client.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/templates/exclude_hosts_list.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/templates/include_hosts_list.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/templates/input.config-mapreduce2.json.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/templates/mapred_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/templates/mapreduce.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/templates/taskcontroller.cfg.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/templates/yarn.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/templates/yarn_ats_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/templates/yarn_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/package/templates/yarn_nm_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/properties/container-executor.cfg.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/quicklinks-mapred/quicklinks.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/quicklinks/quicklinks.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/themes-mapred/directories.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/themes/directories.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/MAPREDUCE2_metrics.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/YARN_metrics.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/YARN_widgets.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/alerts.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/kerberos.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/metainfo.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/YARN/role_command_order.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/configuration/zeppelin-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/configuration/zeppelin-log4j-properties.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/configuration/zeppelin-shiro-ini.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/configuration/zeppelin-site.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/package/scripts/alerts/alert_check_zeppelin.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/package/scripts/interpreter_json_template.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/package/scripts/params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/package/scripts/service_check.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/package/scripts/status_params.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/package/scripts/zeppelin_server.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/package/templates/input.config-zeppelin.json.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/quicklinks/quicklinks.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/themes/directories.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/alerts.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/kerberos.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/metainfo.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/role_command_order.json > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZEPPELIN/service_advisor.py > from /usr/bin/env ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/configuration/zoo.cfg.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/configuration/zookeeper-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/configuration/zookeeper-log4j.xml > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/files/zkEnv.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/files/zkServer.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/files/zkService.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/files/zkSmoke.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/scripts/__init__.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/scripts/params.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/scripts/params_linux.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/scripts/params_windows.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/scripts/service_check.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/scripts/status_params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/scripts/zookeeper.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/scripts/zookeeper_client.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/scripts/zookeeper_server.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/scripts/zookeeper_service.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/templates/configuration.xsl.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/templates/input.config-zookeeper.json.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/templates/zoo.cfg.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/templates/zookeeper_client_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/package/templates/zookeeper_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/themes/directories.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/alerts.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/kerberos.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/metainfo.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/role_command_order.json > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/services/stack_advisor.py > from /usr/bin/env ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/metainfo.xml is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stacks/BIGTOP/3.2.0/role_command_order.json > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/stack_advisor.py from /usr/bin/env > ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/service_advisor.py from /usr/bin/env > ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stacks/ambari_configuration.py from > /usr/bin/env ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] mangling shebang in > /var/lib/ambari-server/resources/scripts/post-user-creation-hook.sh from > /usr/bin/env bash to #!/usr/bin/bash > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/scripts/Ambaripreupload.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/scripts/add_service_api.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/scripts/check_ambari_permissions.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/scripts/cluster_blueprint.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/scripts/configs.py: #!/usr/bin/env python. > Change it to python3 (or python2) explicitly. > [INFO] mangling shebang in > /var/lib/ambari-server/resources/scripts/configurations-set-default-update-policy.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/scripts/export_ams_metrics.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: ./var/lib/ambari-server/resources/scripts/krb5.conf is > executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/scripts/stack_advisor.py from /usr/bin/env > ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/scripts/takeover_config_merge.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/scripts/takeover_files_mapping.json is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/upgrade/ddl/Ambari-DDL-Postgres-UPGRADE-1.3.0.Check.sql > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/upgrade/ddl/Ambari-DDL-Postgres-UPGRADE-1.3.0.Fix.sql > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/upgrade/ddl/quartz.mysql.sql is executable > but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/upgrade/ddl/quartz.oracle.sql is executable > but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/upgrade/ddl/quartz.postgres.sql is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/upgrade/dml/Ambari-DML-MySQL-UPGRADE_STACK.sql > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/upgrade/dml/Ambari-DML-Oracle-INSERT_METAINFO.sql > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/upgrade/dml/Ambari-DML-Oracle-UPGRADE_STACK.sql > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/upgrade/dml/Ambari-DML-Postgres-INSERT_METAINFO.sql > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/upgrade/dml/Ambari-DML-Postgres-UPGRADE_STACK.sql > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/configuration/ams-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/configuration/ams-grafana-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/configuration/ams-grafana-ini.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/configuration/ams-hbase-env.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/configuration/ams-hbase-log4j.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/configuration/ams-hbase-policy.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/configuration/ams-hbase-security-site.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/configuration/ams-hbase-site.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/configuration/ams-log4j.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/configuration/ams-site.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/configuration/ams-ssl-client.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/configuration/ams-ssl-server.xml > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/alerts/alert_ambari_metrics_monitor.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/grafana-dashboards/default/grafana-ambari-server-database.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/grafana-dashboards/default/grafana-ambari-server-topn.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/grafana-dashboards/default/grafana-ambari-server.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/grafana-dashboards/default/grafana-ams-hbase-home.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/grafana-dashboards/default/grafana-ams-hbase-misc.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/grafana-dashboards/default/grafana-ams-hbase-regionservers.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/grafana-dashboards/default/grafana-system-home.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/grafana-dashboards/default/grafana-system-servers.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/service-metrics/AMBARI_METRICS.txt > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/service-metrics/HBASE.txt > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/service-metrics/HDFS.txt > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/service-metrics/HIVE.txt > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/service-metrics/HOST.txt > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/service-metrics/KAFKA.txt > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/service-metrics/YARN.txt > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/files/hbaseSmokeVerify.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/__init__.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/ams.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/ams_service.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/functions.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/hbase.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/hbase_master.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/hbase_regionserver.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/hbase_service.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/metrics_collector.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/metrics_grafana.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/metrics_grafana_util.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/metrics_monitor.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/params_linux.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/params_windows.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/service_check.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/service_mapping.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/split_points.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/status.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/scripts/status_params.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/templates/ams.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/templates/ams_collector_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/templates/ams_zookeeper_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/templates/hadoop-metrics2-hbase.properties.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/templates/hbase_client_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/templates/hbase_grant_permissions.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/templates/hbase_master_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/templates/hbase_regionserver_jaas.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/templates/metric_groups.conf.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/templates/metric_monitor.ini.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/templates/metrics_grafana_datasource.json.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/templates/regionservers.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/package/templates/smoketest_metrics.json.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/quicklinks/quicklinks.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/themes/credentials.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/themes/directories.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/themes/theme.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/alerts.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/kerberos.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/metainfo.xml > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/metrics.json > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/role_command_order.json > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/common-services/AMBARI_METRICS/3.0.0/service_advisor.py > from /usr/bin/env ambari-python-wrap to #!/usr/bin/ambari-python-wrap > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/common-services/README.txt is executable > but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/after-INSTALL/scripts/hook.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/after-INSTALL/scripts/params.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/after-INSTALL/scripts/shared_initialization.py > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stack-hooks/before-ANY/files/changeToSecureUid.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-ANY/scripts/hook.py is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-ANY/scripts/params.py is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-ANY/scripts/shared_initialization.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-INSTALL/scripts/hook.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-INSTALL/scripts/params.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-INSTALL/scripts/repo_initialization.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-INSTALL/scripts/shared_initialization.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-RESTART/scripts/hook.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-SET_KEYTAB/scripts/hook.py > is executable but has no shebang, removing executable bit > [INFO] mangling shebang in > /var/lib/ambari-server/resources/stack-hooks/before-START/files/checkForFormat.sh > from /usr/bin/env bash to #!/usr/bin/bash > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-START/files/task-log4j.properties > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stack-hooks/before-START/files/topology_script.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-START/scripts/custom_extensions.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-START/scripts/hook.py is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-START/scripts/params.py > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/stack-hooks/before-START/scripts/rack_awareness.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-START/scripts/shared_initialization.py > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-START/templates/commons-logging.properties.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-START/templates/exclude_hosts_list.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-START/templates/hadoop-metrics2.properties.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-START/templates/health_check.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-START/templates/include_hosts_list.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/stack-hooks/before-START/templates/topology_mappings.data.j2 > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/custom_action_definitions/system_action_definitions.xml > is executable but has no shebang, removing executable bit > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/custom_actions/scripts/check_host.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/custom_actions/scripts/clear_repocache.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/custom_actions/scripts/install_packages.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/custom_actions/scripts/remove_bits.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/custom_actions/scripts/remove_previous_stacks.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/custom_actions/scripts/ru_execute_tasks.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/custom_actions/scripts/stack_select_set_all.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/custom_actions/scripts/update_repo.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/custom_actions/scripts/validate_configs.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/host_scripts/alert_disk_space.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/host_scripts/alert_ulimit.py: #!/usr/bin/env > python. Change it to python3 (or python2) explicitly. > [INFO] *** ERROR: ambiguous python shebang in > /var/lib/ambari-server/resources/host_scripts/alert_version_select.py: > #!/usr/bin/env python. Change it to python3 (or python2) explicitly. > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/Ambari-DDL-Postgres-CREATE.sql is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/Ambari-DDL-Postgres-DROP.sql is executable > but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/Ambari-DDL-Postgres-EMBEDDED-DROP.sql is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/Ambari-DDL-Oracle-CREATE.sql is executable > but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/Ambari-DDL-MySQL-CREATE.sql is executable > but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/Ambari-DDL-Oracle-DROP.sql is executable > but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/Ambari-DDL-MySQL-DROP.sql is executable but > has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/Ambari-DDL-AzureDB-CREATE.sql is executable > but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/Ambari-DDL-SQLServer-CREATE.sql is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/Ambari-DDL-SQLServer-CREATELOCAL.sql is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/Ambari-DDL-SQLServer-DROP.sql is executable > but has no shebang, removing executable bit > [INFO] *** WARNING: > ./var/lib/ambari-server/resources/Ambari-DDL-SQLAnywhere-CREATE.sql is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: ./var/lib/ambari-server/resources/APACHE-AMBARI-MIB.txt > is executable but has no shebang, removing executable bit > [INFO] *** WARNING: ./var/lib/ambari-server/resources/kerberos.json is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: ./var/lib/ambari-server/resources/widgets.json is > executable but has no shebang, removing executable bit > [INFO] *** WARNING: ./var/lib/ambari-server/resources/version is executable > but has no shebang, removing executable bit > [INFO] *** WARNING: ./var/lib/ambari-server/ambari-env.sh is executable but > has no shebang, removing executable bit > [INFO] *** WARNING: ./var/lib/ambari-server/install-helper.sh is executable > but has no shebang, removing executable bit > [INFO] error: Bad exit status from /var/tmp/rpm-tmp.S5kaKk (%install) > [INFO] Bad exit status from /var/tmp/rpm-tmp.S5kaKk (%install) > [INFO] > [INFO] > [INFO] RPM build errors: > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary for Ambari Main 2.8.0.0.0: > [INFO] > [INFO] Ambari Main ........................................ SUCCESS [ 6.402 > s] > [INFO] Apache Ambari Project POM .......................... SUCCESS [ 0.285 > s] > [INFO] Ambari Web ......................................... SUCCESS [01:53 > min] > [INFO] Ambari Views ....................................... SUCCESS [ 2.405 > s] > [INFO] Ambari Admin View .................................. SUCCESS [16:00 > min] > [INFO] ambari-utility ..................................... SUCCESS [ 5.818 > s] > [INFO] Ambari Server SPI .................................. SUCCESS [ 2.088 > s] > [INFO] Ambari Service Advisor ............................. SUCCESS [ 0.375 > s] > [INFO] Ambari Server ...................................... FAILURE [04:38 > min] > [INFO] Ambari Functional Tests ............................ SKIPPED > [INFO] Ambari Agent ....................................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 22:50 min > [INFO] Finished at: 2023-11-21T14:39:58+08:00 > [INFO] > ------------------------------------------------------------------------ > {code} > Does anyone know why this is? -- 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