ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-13229) When non-supported version of python is set as default, Ambari fails in multiple places
Date Fri, 25 Sep 2015 23:14:04 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14908851#comment-14908851
] 

Hudson commented on AMBARI-13229:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3517 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3517/])
Revert "AMBARI-13229. Detect non-compliant python versions and do not attempt to start Ambari
Agent (aonishuk)" (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e3b0c362fcf5542ce826ba4c798a8be71e2f3bb0)
* ambari-server/src/test/python/stacks/2.2/KNOX/test_knox_gateway.py
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/service_check.py
* ambari-server/src/test/python/stacks/2.1/FALCON/test_falcon_client.py
* ambari-server/src/test/python/stacks/2.3/MAHOUT/test_mahout_client.py
* ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py
* ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_webhcat_server.py
* ambari-server/src/test/python/custom_actions/test_ru_set_all.py
* ambari-server/src/test/python/stacks/2.2/RANGER/test_ranger_usersync.py
* ambari-server/src/test/python/stacks/2.0.6/YARN/test_yarn_client.py
* ambari-server/src/test/python/stacks/2.2/KAFKA/test_kafka_broker.py
* ambari-server/src/test/python/stacks/2.2/SPARK/test_job_history_server.py
* ambari-server/src/test/python/stacks/2.1/STORM/test_storm_ui_server.py
* ambari-server/src/test/python/stacks/2.2/ACCUMULO/test_accumulo_client.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py
* ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_client.py
* ambari-server/src/test/python/stacks/2.0.6/YARN/test_resourcemanager.py
* ambari-server/src/test/python/stacks/2.1/STORM/test_storm_supervisor_prod.py
* ambari-common/src/main/python/resource_management/libraries/functions/get_hdp_version.py
* ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py
* ambari-server/src/test/python/stacks/2.1/STORM/test_storm_rest_api_service.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_nfsgateway.py
* ambari-server/src/test/python/stacks/2.1/YARN/test_apptimelineserver.py
* ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py
* ambari-server/src/test/python/stacks/2.3/SPARK/test_spark_thrift_server.py
* ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_client.py
* ambari-server/src/test/python/stacks/2.1/STORM/test_storm_nimbus.py
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_client.py
* ambari-server/src/main/resources/custom_actions/scripts/ru_set_all.py
* ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_journalnode.py
* ambari-server/src/test/python/stacks/2.1/STORM/test_storm_nimbus_prod.py
* ambari-server/src/test/python/stacks/2.0.6/SQOOP/test_sqoop.py
* ambari-server/src/test/python/stacks/2.0.6/ZOOKEEPER/test_zookeeper_server.py
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
* ambari-server/src/test/python/stacks/2.0.6/PIG/test_pig_client.py
* ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py
* ambari-server/src/test/python/stacks/2.1/STORM/test_storm_supervisor.py
* ambari-server/src/test/python/stacks/2.0.6/YARN/test_historyserver.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_hdfs_client.py
* ambari-server/src/test/python/stacks/2.0.6/ZOOKEEPER/test_zookeeper_client.py
* ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py
* ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.py
* ambari-server/src/test/python/stacks/2.2/SPARK/test_spark_client.py
* ambari-server/src/test/python/stacks/2.2/SLIDER/test_slider_client.py
* ambari-server/src/test/python/stacks/2.2/RANGER/test_ranger_admin.py
* ambari-server/src/test/python/stacks/2.0.6/HBASE/test_phoenix_queryserver.py
* ambari-server/src/test/python/stacks/2.0.6/YARN/test_mapreduce2_client.py
* ambari-server/src/test/python/stacks/2.1/TEZ/test_tez_client.py
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py
* ambari-server/src/test/python/stacks/2.1/STORM/test_storm_drpc_server.py
* ambari-common/src/main/python/resource_management/libraries/functions/hdp_select.py
* ambari-server/src/test/python/stacks/2.1/FALCON/test_falcon_server.py


> When non-supported version of python is set as default, Ambari fails in multiple places
> ---------------------------------------------------------------------------------------
>
>                 Key: AMBARI-13229
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13229
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.2.0
>
>
> We had an issue where the root user's ~/.bashrc file had Python 3 in the PATH.
> We blindly tried to execute tasks and hdp-select blew up with a syntax issue.
> The vast majority of our tasks will fail with python 3 and as users start to
> more heavily adopt newer version of python for data science tasks there is
> risk that they will leak into being used by our user accounts, specifically
> root for root agents, and the non-root user for non-root agents.  
> I would propose that we check the version of python before attempting to start
> the ambari-agent, and fail with a non-zero exit code if we detect a non-
> compliant version.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message