devmadhuu commented on code in PR #6651:
URL: https://github.com/apache/ozone/pull/6651#discussion_r1593526239


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneShellHA.java:
##########
@@ -409,12 +408,12 @@ private int getNumOfBuckets(String bucketPrefix)
   }
 
   /**
-   * Parse output into ArrayList with Gson.
+   * Parse output into ArrayList with Jackson.
    * @return ArrayList
    */
-  private ArrayList<LinkedTreeMap<String, String>> parseOutputIntoArrayList()
-      throws UnsupportedEncodingException {
-    return new Gson().fromJson(out.toString(DEFAULT_ENCODING), 
ArrayList.class);
+  private List<HashMap<String, Object>> parseOutputIntoArrayList() throws 
IOException {

Review Comment:
   Do we need specific HashMap return type ? can we change to Map type without 
breaking the test cases ?



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