ddanielr commented on code in PR #3684:
URL: https://github.com/apache/accumulo/pull/3684#discussion_r1292640231
##########
shell/src/main/java/org/apache/accumulo/shell/commands/MergeCommand.java:
##########
@@ -53,13 +53,7 @@ public int execute(final String fullCommand, final
CommandLine cl, final Shell s
size =
ConfigurationTypeHelper.getFixedMemoryAsBytes(cl.getOptionValue(sizeOpt.getOpt()));
}
if (startRow == null && endRow == null && size < 0 && !all) {
- shellState.getWriter().flush();
- String line = shellState.getReader()
- .readLine("Merge the entire table { " + tableName + " } into one
tablet (yes|no)? ");
- if (line == null) {
- return 0;
- }
- if (!line.equalsIgnoreCase("y") && !line.equalsIgnoreCase("yes")) {
+ if (!shellState.yorn("Merge the entire table { " + tableName + " } into
one tablet")) {
Review Comment:
Updated the prompt wording.
--
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]