Suvrat1629 commented on code in PR #5332:
URL: https://github.com/apache/accumulo/pull/5332#discussion_r1963704205


##########
server/base/src/main/java/org/apache/accumulo/server/util/ECAdmin.java:
##########
@@ -153,43 +166,112 @@ private void listCompactorsByQueue(ServerContext 
context) {
     }
   }
 
-  private void runningCompactions(ServerContext context, boolean details) {
+  private void runningCompactions(ServerContext context, boolean details, 
String format) {
     CompactionCoordinatorService.Client coordinatorClient = null;
-    TExternalCompactionList running;
+    Map<String,TExternalCompaction> runningCompactionsMap = new HashMap<>();
+

Review Comment:
   I added a format validation which checks if the provided format is a 
plain,csv or json format; also if not format is provided it will use the 
"plain" format.



-- 
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: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to