dlmarion commented on code in PR #5934:
URL: https://github.com/apache/accumulo/pull/5934#discussion_r2387761468


##########
server/base/src/main/java/org/apache/accumulo/server/util/Admin.java:
##########
@@ -537,8 +527,8 @@ public void execute(final String[] args) {
       } else if (cl.getParsedCommand().equals("restoreZoo")) {
         RestoreZookeeper.execute(conf, restoreZooOpts.file, 
restoreZooOpts.overwrite);
       } else if (cl.getParsedCommand().equals("locks")) {
-        TabletServerLocks.execute(context, args.length > 2 ? args[2] : null,
-            tServerLocksOpts.delete);
+        System.out.println("'locks' command has been removed. Use 
'serviceStatus' command"
+            + " to list processes and 'stop -f' command to remove their 
locks.");

Review Comment:
   Good catch, that escaped me at the time apparently. I updated the PR to move 
the logging for the removed 'locks' command.



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