guluo2016 opened a new pull request, #3924: URL: https://github.com/apache/ambari/pull/3924
## What changes were proposed in this pull request? Details see: [AMBARI-26275](https://issues.apache.org/jira/browse/AMBARI-26275) ## How was this patch tested? For example, on Centos, compiling ambari with jdk17 by the following command. ``` mvn -B clean install rpm:rpm -DnewVersion=2.7.9.0.0 -DbuildNumber=da8f1b9b5a799bfa8e2d8aa9ab31d6d5a1cc31a0 -DskipTests -Dpython.ver="python >= 2.6" ``` We can compile ambari successfully. ```shell [INFO] [INFO] Ambari Main ........................................ SUCCESS [ 6.090 s] [INFO] Apache Ambari Project POM .......................... SUCCESS [ 0.234 s] [INFO] Ambari Web ......................................... SUCCESS [01:00 min] [INFO] Ambari Views ....................................... SUCCESS [ 1.845 s] [INFO] Ambari Admin View .................................. SUCCESS [ 10.980 s] [INFO] ambari-utility ..................................... SUCCESS [ 2.269 s] [INFO] Ambari Server SPI .................................. SUCCESS [ 0.967 s] [INFO] Ambari Service Advisor ............................. SUCCESS [ 1.536 s] [INFO] Ambari Server ...................................... SUCCESS [05:45 min] [INFO] Ambari Functional Tests ............................ SUCCESS [ 1.873 s] [INFO] Ambari Agent ....................................... SUCCESS [ 33.110 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 07:44 min ``` Please review [Ambari Contributing Guide](https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute) before opening a pull request. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
