keith-turner 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_r366606006
 
 

 ##########
 File path: 
core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java
 ##########
 @@ -433,6 +433,33 @@ void clone(String srcTableName, String newTableName, 
boolean flush,
       Map<String,String> propertiesToSet, Set<String> propertiesToExclude) 
throws AccumuloException,
       AccumuloSecurityException, TableNotFoundException, TableExistsException;
 
+  /**
+   * Clone a table from an existing table. The cloned table will have the same 
data as the source
+   * table it was created from. After cloning, the two tables can mutate 
independently. Initially
+   * the cloned table should not use any extra space, however as the source 
table and cloned table
+   * major compact extra space will be used by the clone.
+   *
+   * Initially the cloned table is only readable and writable by the user who 
created it.
+   *
+   * @param srcTableName
+   *          the table to clone
+   * @param newTableName
+   *          the name of the clone
+   * @param flush
+   *          determines if memory is flushed in the source table before 
cloning.
+   * @param propertiesToSet
+   *          the sources tables properties are copied, this allows overriding 
of those properties
+   * @param propertiesToExclude
+   *          do not copy these properties from the source table, just revert 
to system defaults
+   * @param keepOffline
+   *          do not bring the table online after cloning
+   */
 
 Review comment:
   I am not sure... maybe it could be `@since 1.10 2.1.0`

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to