[ https://issues.apache.org/jira/browse/AMBARI-22516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16271193#comment-16271193 ]
Doroszlai, Attila commented on AMBARI-22516: -------------------------------------------- OK, so that's not a Python version issue. To me it seems like RedHat install media (DVD?) is not available. Try the one of the commands it suggests: {noformat} yum-config-manager --disable InstallMedia {noformat} or {noformat} yum-config-manager --save --setopt=InstallMedia.skip_if_unavailable=true {noformat} > 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)