Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25528

Unable to build Ambari Server on RHEL8 due to lack of python command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.6.1, 2.7.5
    • None
    • ambari-server
    • None
    • CentOS8/RHEL8

    Description

      When buildingĀ ambari-server on RHEL8/CentOS8, I got an error like below:

      [INFO] --- exec-maven-plugin:1.2.1:exec (azuredb-gen) @ ambari-server ---
      /usr/bin/env: 'python': No such file or directory
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Ambari Main 2.6.1.0.0 .............................. SUCCESS [  1.548 s]
      [INFO] Apache Ambari Project POM .......................... SUCCESS [  0.008 s]
      [INFO] Ambari Web ......................................... SUCCESS [ 34.585 s]
      [INFO] Ambari Views ....................................... SUCCESS [  1.296 s]
      [INFO] Ambari Admin View .................................. SUCCESS [ 54.170 s]
      [INFO] utility 1.0.0.0-SNAPSHOT ........................... SUCCESS [  0.245 s]
      [INFO] ambari-metrics ..................................... SUCCESS [  0.264 s]
      [INFO] Ambari Metrics Common .............................. SUCCESS [  3.927 s]
      [INFO] Ambari Metrics Hadoop Sink ......................... SUCCESS [  2.345 s]
      [INFO] Ambari Metrics Flume Sink .......................... SUCCESS [  1.508 s]
      [INFO] Ambari Metrics Kafka Sink .......................... SUCCESS [  1.568 s]
      [INFO] Ambari Metrics Storm Sink .......................... SUCCESS [  2.129 s]
      [INFO] Ambari Metrics Storm Sink (Legacy) ................. SUCCESS [  1.918 s]
      [INFO] Ambari Metrics Collector ........................... SUCCESS [ 23.907 s]
      [INFO] Ambari Metrics Monitor ............................. SUCCESS [  1.315 s]
      [INFO] Ambari Metrics Grafana 2.1.0.0.0 ................... SUCCESS [  5.045 s]
      [INFO] Ambari Metrics Assembly ............................ SUCCESS [01:14 min]
      [INFO] Ambari Server ...................................... FAILURE [  3.976 s]
      [INFO] Ambari Functional Tests ............................ SKIPPED
      

      I guess the root cause is RHEL8/CentOS8 drops python command but python2.

      Attachments

        Issue Links

          Activity

            People

              hapylestat Dmytro Grinenko
              masatana Masahiro Tanaka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: