You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Keith Turner (Commented) (JIRA)" <ji...@apache.org> on 2012/03/13 16:40:39 UTC

[jira] [Commented] (ACCUMULO-456) Need utility for exporting and importing tables

    [ https://issues.apache.org/jira/browse/ACCUMULO-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228454#comment-13228454 ] 

Keith Turner commented on ACCUMULO-456:
---------------------------------------

The following steps would partially accomplish this.

 * Clone table
 * Disable bulk imports
 * Compact table
 * Take table offline
 * Wait for Accumulo GC to clean up files in table dir
 * Distcp files
 * Bulk import files on remote cluster

There are two reasons to compact.
 * Tablets can reference files that extend beyond tablet range and contain stale data.
 * Tablets can point to files in other table dirs as a result of cloning.

The above procedure does not copy existing table configuration stored in zookeeper or the tables split points.
                
> Need utility for exporting and importing tables
> -----------------------------------------------
>
>                 Key: ACCUMULO-456
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-456
>             Project: Accumulo
>          Issue Type: New Feature
>            Reporter: Keith Turner
>             Fix For: 1.5.0
>
>
> Need a utility to to export and import tables.  A use case would be export table on cluster A, distcp to cluter B, import.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira