devmadhuu commented on code in PR #4129:
URL: https://github.com/apache/ozone/pull/4129#discussion_r1060263150
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/types/NamespaceSummaryResponse.java:
##########
@@ -43,6 +43,16 @@ public class NamespaceSummaryResponse {
@JsonProperty("numKey")
private long numTotalKey;
+ /** Age of entity in
+ * human-readable format. */
+ @JsonProperty("age")
+ private long age;
Review Comment:
@sumitagrawl - Thanks for reviewing. It has been fixed. Pls re-review.
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/NSSummaryEndpoint.java:
##########
@@ -62,6 +70,129 @@ public NSSummaryEndpoint(ReconNamespaceSummaryManager
namespaceSummaryManager,
this.reconSCM = reconSCM;
}
+ @GET
+ @Path("/entitymetrics")
+ public Response getEntityMetrics(@QueryParam("path") String path,
+ @DefaultValue("size")
Review Comment:
@sumitagrawl - Thanks for reviewing. It has been fixed. Pls re-review.
--
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]