Masahiro Tanaka created AMBARI-25528:
----------------------------------------

             Summary: Unable to build Ambari Server on RHEL8 due to lack of 
python command
                 Key: AMBARI-25528
                 URL: https://issues.apache.org/jira/browse/AMBARI-25528
             Project: Ambari
          Issue Type: Improvement
          Components: ambari-server
         Environment: CentOS8/RHEL8
            Reporter: Masahiro Tanaka


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

{code}
[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
{code}

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to