guluo2016 opened a new pull request, #3950:
URL: https://github.com/apache/ambari/pull/3950

   ## What changes were proposed in this pull request?
   
   Issue details see: 
[AMBARI-26309](https://issues.apache.org/jira/browse/AMBARI-26309)
   
   There are several changes in this PR, as following.
   
   1. Upgrade eclipselink to 4.0.5.
        This change mainly solves the problem of long-time hanging when 
starting ambari-server. 
         This issue does exists in eclipselink 2.7.14, issue details see: 
https://github.com/eclipse-ee4j/eclipselink/issues/2075
         And  this issue was fixed in eclipselink 2.7.14, details see: 
https://github.com/eclipse-ee4j/eclipselink/pull/2335
   
   2. Upgrade to JPA 3.x
        eclipselink 4.x follows JPA 3.x specification.
         And an important change in JPA 3 is the change in package names, from 
javax.persistence to jakarta.persistence.
         So, I have added the jakarta.persistence-api-3.1.0 to ambari project, 
and update package name from javax.persistence to jakarta.persistence.
         
   3.  Upgrade guice to 7.0.0
        The reason: guice didnot add support for jakarta.inject until version 
7.0.0,  issue details see:  https://github.com/google/guice/issues/1383, and 
Guice 7.0.0 changes see: 
https://github.com/google/guice/wiki/Guice700#:~:text=JEE%20Jakarta%20Transition,7.0%20are%20identical
   
   ## How was this patch tested?
   
   I have already manually tested it, amabri-server can start and run normally.
   
   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: dev-unsubscr...@ambari.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ambari.apache.org
For additional commands, e-mail: dev-h...@ambari.apache.org

Reply via email to