xBis7 opened a new pull request, #5803: URL: https://github.com/apache/ozone/pull/5803
## What changes were proposed in this pull request? It's useful for the cluster admin to have a datanodes 'Last Heartbeat' available in the SCM UI. This patch is adding that change. The time is presented in a relative value e.g. `2s ago`, `3m 1s ago` etc. The method for making the calculations, could be in a Util class and not in `SCMNodeManager`. Feel free to provide any feedback on that. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-9934 ## How was this patch tested? A new unit test was added for this patch. It was also tested manually. Check the attached screenshots from SCM UI. <img width="1998" alt="scm-ui-1" src="https://github.com/apache/ozone/assets/74301312/56c482a8-9fef-49ba-92c3-d6e094f9e8d6"> <img width="1975" alt="scm-ui-2" src="https://github.com/apache/ozone/assets/74301312/c129e703-22ef-4458-b22d-84ae313c1845"> -- 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]
