devmadhuu commented on code in PR #6400:
URL: https://github.com/apache/ozone/pull/6400#discussion_r1533325089
##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/admin/nssummary/DiskUsageSubCommand.java:
##########
@@ -101,21 +99,21 @@ public Void call() throws Exception {
return null;
}
- HashMap<String, Object> duResponse = getResponseMap(response);
+ ObjectMapper objectMapper = new ObjectMapper();
+ JsonNode duResponse = objectMapper.readTree(response);
Review Comment:
Can we use here also
```suggestion
HashMap<String, Object> responseMap = getResponseMap(response);
```
--
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]