JiaLiangC opened a new pull request, #142:
URL: https://github.com/apache/ambari-metrics/pull/142

   Revert "AMBARI-26142: JDK17 support for Ambari-metrics (#134)"
   
   This reverts commit 667fa9acc5aa96b50245b7be0d862b26815ac45e.
   
   Reason for revert:
   The JDK17 upgrade for Ambari-metrics has caused compatibility issues with 
various component sinks (Hadoop, HBase, etc.) that are still running on JDK8. 
Since Ambari-metrics produces JAR files that serve as plugins for these 
components, the JDK17-compiled sinks are not compatible with the JDK8 runtime 
environment of the host components.
   
   Specifically, when Hadoop (which runs on JDK8) attempts to load the metrics 
sink compiled with JDK17, it fails to start due to bytecode incompatibility 
issues. This incompatibility affects multiple components that integrate with 
Ambari-metrics.
   
   We need to revert to the JDK8-compatible version until we can implement a 
solution that maintains backward compatibility with JDK8-based components or 
until all dependent components are upgraded to support JDK17.


-- 
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]

Reply via email to