Ariel,

There is not an easy way to do this recursively. Your best option is going
to be writing your own wrapper around the import command. If you're using
shell commands, this could be as easy as feeding the results of 'find .
-type d' into a script, or in Java you might want to look at
DirectoryWalker in Apache Commons as possible solutions.

Mike

On Tue, Nov 25, 2014 at 10:22 AM, Ariel Valentin <[email protected]>
wrote:

> Hello!
>
> We are running a couple of experiments using importDirectory and are
> curious if there is a simple way to import directories recursively. Based
> on looking at the source code it does not look like it currently supports
> that feature:
>
> (
> https://github.com/apache/accumulo/blob/1835c27ca41426ddd570cde14f9612c45680b917/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperationsImpl.java
> )
>
> Are there plans to add it in the future? Or is there a simple way to do
> this right now?
>
> Thanks,
> Ariel Valentin
> e-mail: [email protected]
> website: http://blog.arielvalentin.com
> skype: ariel.s.valentin
> twitter: arielvalentin
> linkedin: http://www.linkedin.com/profile/view?id=8996534
> ---------------------------------------
> *simplicity *communication
> *feedback *courage *respect
>

Reply via email to