You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Ronald van de Kuil (JIRA)" <ji...@apache.org> on 2017/11/25 09:37:00 UTC

[jira] [Created] (AMBARI-22516) Ambari 2.6 build has python 2.6 dependency

Ronald van de Kuil created AMBARI-22516:
-------------------------------------------

             Summary: 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: Bug
         Environment: RHEL 7.4
            Reporter: Ronald van de Kuil
            Priority: Critical


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)