EdColeman commented on code in PR #3537:
URL: https://github.com/apache/accumulo/pull/3537#discussion_r1245262874
##########
shell/src/main/java/org/apache/accumulo/shell/commands/CreateTableCommand.java:
##########
@@ -86,14 +86,14 @@ public int execute(final String fullCommand, final
CommandLine cl, final Shell s
// and then the addSplits method was called. Starting with 2.0, the splits
will be
// stored on the file system and created before the table is brought
online.
if (cl.hasOption(createTableOptSplit.getOpt())) {
- ntc = ntc.withSplits(new TreeSet<>(
+ ntc.withSplits(new TreeSet<>(
ShellUtil.scanFile(cl.getOptionValue(createTableOptSplit.getOpt()),
decode)));
} else if (cl.hasOption(createTableOptCopySplits.getOpt())) {
final String oldTable =
cl.getOptionValue(createTableOptCopySplits.getOpt());
if (!shellState.getAccumuloClient().tableOperations().exists(oldTable)) {
throw new TableNotFoundException(null, oldTable, null);
}
- ntc = ntc.withSplits(
+ ntc.withSplits(
Review Comment:
Updated javadoc for NTC in a13c742ef7
--
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]