You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2020/01/14 21:27:10 UTC

[GitHub] [accumulo] milleruntime commented on a change in pull request #1475: fixes #1474: Option to leave cloned tables offline

milleruntime commented on a change in pull request #1475: fixes #1474: Option to leave cloned tables offline
URL: https://github.com/apache/accumulo/pull/1475#discussion_r366578980
 
 

 ##########
 File path: shell/src/main/java/org/apache/accumulo/shell/commands/CloneTableCommand.java
 ##########
 @@ -99,6 +105,8 @@ public Options getOptions() {
     noFlushOption =
         new Option("nf", "noFlush", false, "do not flush table data in memory before cloning.");
     o.addOption(noFlushOption);
+    keepOfflineOption =
+        new Option("k", "keepOffline", false, "do not bring the table online after cloning.");
 
 Review comment:
   Probably better to name the option "o", to be consistent with other offline commands.  For example, that is what [CreateTableCommand](https://github.com/apache/accumulo/blob/3fd5cad92f9b63ac19e4466f3f2d5237b905262c/shell/src/main/java/org/apache/accumulo/shell/commands/CreateTableCommand.java#L328) uses in 2.X

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services