Skip to content

Conversation

sandeep318kumar
Copy link
Contributor

AMBARI-26313: Change metrics names in grafana dashboards as per the GC used in JDK17

What changes were proposed in this pull request?

Changing metrics names according to GC used in JDK17

(Please fill in changes proposed in this fix)

How was this patch tested?

Tested on local cluster. attaching screenshots.

image
image
image
image

(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

Please review Ambari Contributing Guide before opening a pull request.

@JiaLiangC
Copy link
Contributor

@sandeep318kumar Currently, Ambari-Metrics uses JDK 1.8 because its sink runs as a plugin on Hadoop. Upgrading to JDK 17 would cause Hadoop to fail to start due to JAR compatibility issues. For details, see: apache/ambari-metrics#142.

Therefore, this PR for the Metrics update can be marked as a draft for now. Once Hadoop and HBase are upgraded to JDK 17, it can proceed.

@sandeep318kumar
Copy link
Contributor Author

sandeep318kumar commented Jul 11, 2025

Thanks @JiaLiangC. I'll create different profiles for JDK17 and JDK8 for ambari metrics. User can pass flags through command UI to enable JDK17. After this we can take this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants