Description
Functions format_simple_command and format_and_return_simple_command are used to print runtimes right now. They are called from within every single command and use Ruby's 'yield' magic. Instead, we can simplify it using 'command_safe' function. Since command_safe wraps all commands, we can simply time before and after we call individual command.
Attachments
Attachments
Issue Links
- causes
-
HBASE-23336 [CLI] Incorrect row(s) count "clear_deadservers"
- Resolved
- links to