DomGarguilo commented on code in PR #2215:
URL: https://github.com/apache/accumulo/pull/2215#discussion_r887135725


##########
core/src/main/java/org/apache/accumulo/fate/AdminUtil.java:
##########
@@ -360,6 +285,10 @@ private FateStatus getTransactionStatus(ReadOnlyTStore<T> 
zs, Set<Long> filterTx
 
     List<Long> transactions = zs.list();
     List<TransactionStatus> statuses = new ArrayList<>(transactions.size());
+    Gson gson = new GsonBuilder()
+        .registerTypeAdapter(ReadOnlyRepo.class, new InterfaceSerializer<>())
+        .registerTypeAdapter(Repo.class, new InterfaceSerializer<>())
+        .registerTypeAdapter(byte[].class, new 
ByteArraySerializer()).setPrettyPrinting().create();

Review Comment:
   Added a comment in 
[bf2b32b](https://github.com/apache/accumulo/pull/2215/commits/bf2b32b920a15e25610784323688b8ba83aab4e3)



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

Reply via email to