[
https://issues.apache.org/jira/browse/AMBARI-22516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16271148#comment-16271148
]
Ronald van de Kuil commented on AMBARI-22516:
---------------------------------------------
Hi Attila,
I got it to build the rpm's. And I ran the install via the ambari gui. However
the cluster setup fails because there is still a dependency on python 2.6
When I click on the "failures encountered" link, then I see a:
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 367, in execute
method(env)
> Ambari 2.6 build has python 2.6 dependency
> ------------------------------------------
>
> Key: AMBARI-22516
> URL: https://issues.apache.org/jira/browse/AMBARI-22516
> Project: Ambari
> Issue Type: Improvement
> Environment: RHEL 7.4
> Reporter: Ronald van de Kuil
> Priority: Critical
> Attachments: AMBARI-22516.branch-2.6.patch
>
>
> The installation guide for Ambari 2.6 instructs us to build the RHEL rpm
> using:
> mvn -B clean install package rpm:rpm -DnewVersion=2.6.0.0.0 -DskipTests
> -Dpython.ver="python >= 2.6"
> I just tried this on RHEL 7 (which is not listed in the instructions) and
> then the build fails:
> /usr/lib/rpm/brp-python-bytecompile: line 44: /usr/bin/python2.6: No such
> file or directory
> I read that downgrading RHEL 7 to use python 2.6 is not a good idea because
> allegedly several OS scripts depend on it.
> I saw a different JIRA issue that gave some suggestions to overwrite the
> required version using commandline options.
> Should ambari be able to run on the version 7 of the OS at this moment? .And
> if so, should it work fine with the 2.7 version of python?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)