keith-turner commented on a change in pull request #1579: Closes #1576: Update
importTable with directory list as Set<String>
URL: https://github.com/apache/accumulo/pull/1579#discussion_r405774399
##########
File path:
core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java
##########
@@ -177,10 +177,25 @@ void create(String tableName, NewTableConfiguration ntc)
* @param tableName
* Name of a table to create and import into.
* @param importDir
- * Directory that contains the files copied by distcp from
exportTable
+ * A directory containing the files copied by distcp from
exportTable
* @since 1.5.0
+ *
+ */
+ default void importTable(String tableName, String importDir)
+ throws TableExistsException, AccumuloException,
AccumuloSecurityException {
+ importTable(tableName, Set.of(importDir));
+ }
+
+ /**
+ * Imports a table exported via exportTable and copied via hadoop distcp.
+ *
+ * @param tableName
+ * Name of a table to create and import into.
+ * @param importDirs
+ * A set of directories containing the files copied by distcp from
exportTable
Review comment:
Is there anything that would be worth mentioning about the metadata zip file
and multiple dirs here?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services