You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by anup ahire <ah...@gmail.com> on 2017/10/02 01:39:06 UTC
ambari python version change
Hello,
I have amabri 2.4.2.0 running with python 2.6.6 on RHEL 6. I wan to switch
to python 2.7.8 or higher. Has anyone done it and Is it possible to switch
easily ?
Thanks,
Re: ambari python version change
Posted by Sean Roberts <sr...@hortonworks.com>.
You should never replace the system Python on RHEL/CentOS.
If you have applications that require a different versions then install them separately (in a VirtualEnv, /usr/local, /opt or many other methods).
--
Sean Roberts
@seano
From: Anup <ah...@gmail.com>
Reply-To: "user@ambari.apache.org" <us...@ambari.apache.org>
Date: Monday, October 2, 2017 at 5:19 PM
To: "user@ambari.apache.org" <us...@ambari.apache.org>
Subject: Re: ambari python version change
Thanks Gonzola. I was exploring to see if there is any easy away from having multiple versions of python.
Sent from my iPhone
On Oct 2, 2017, at 6:49 AM, Gonzalo Herreros <gh...@gmail.com>> wrote:
The issue I see there is not the Python version Ambari runs in (which should work) but the fact that Ambari runs and installs it's packages on the system Python version.
I think upgrading RHEL 6 default Python to 2.7 is a big risk because core system services where developed and tested on 2.6
As far as I now, there is not an official way of running Ambari on an non system default python version.
Therefore, my advice if possible is that you upgrade RHEL to 7.
I wonder why do you care which version of Python is Ambari using.
Regards,
Gonzalo
On 2 October 2017 at 02:39, anup ahire <ah...@gmail.com>> wrote:
Hello,
I have amabri 2.4.2.0 running with python 2.6.6 on RHEL 6. I wan to switch to python 2.7.8 or higher. Has anyone done it and Is it possible to switch easily ?
Thanks,
Re: ambari python version change
Posted by Anup <ah...@gmail.com>.
Thanks Gonzola. I was exploring to see if there is any easy away from having multiple versions of python.
Sent from my iPhone
> On Oct 2, 2017, at 6:49 AM, Gonzalo Herreros <gh...@gmail.com> wrote:
>
> The issue I see there is not the Python version Ambari runs in (which should work) but the fact that Ambari runs and installs it's packages on the system Python version.
>
> I think upgrading RHEL 6 default Python to 2.7 is a big risk because core system services where developed and tested on 2.6
> As far as I now, there is not an official way of running Ambari on an non system default python version.
>
> Therefore, my advice if possible is that you upgrade RHEL to 7.
> I wonder why do you care which version of Python is Ambari using.
>
> Regards,
> Gonzalo
>
>> On 2 October 2017 at 02:39, anup ahire <ah...@gmail.com> wrote:
>> Hello,
>>
>> I have amabri 2.4.2.0 running with python 2.6.6 on RHEL 6. I wan to switch to python 2.7.8 or higher. Has anyone done it and Is it possible to switch easily ?
>>
>> Thanks,
>>
>
Re: ambari python version change
Posted by Gonzalo Herreros <gh...@gmail.com>.
The issue I see there is not the Python version Ambari runs in (which
should work) but the fact that Ambari runs and installs it's packages on
the system Python version.
I think upgrading RHEL 6 default Python to 2.7 is a big risk because core
system services where developed and tested on 2.6
As far as I now, there is not an official way of running Ambari on an non
system default python version.
Therefore, my advice if possible is that you upgrade RHEL to 7.
I wonder why do you care which version of Python is Ambari using.
Regards,
Gonzalo
On 2 October 2017 at 02:39, anup ahire <ah...@gmail.com> wrote:
> Hello,
>
> I have amabri 2.4.2.0 running with python 2.6.6 on RHEL 6. I wan to switch
> to python 2.7.8 or higher. Has anyone done it and Is it possible to switch
> easily ?
>
> Thanks,
>
>