You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/12/06 23:39:00 UTC

[jira] [Comment Edited] (HBASE-11409) Add more flexibility for input directory structure to LoadIncrementalHFiles

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

Ted Yu edited comment on HBASE-11409 at 12/6/17 11:38 PM:
----------------------------------------------------------

bq. if you want to use it with a depth of 3, you must have an existing table

Edit:
Can we keep 2 as default and use a new flag for depth of 3 ?

This would be more user friendly since only power user deals with the new depth.


was (Author: yuzhihong@gmail.com):
bq. if you want to use it with a depth of 3, you must have an existing table

good by me.

> Add more flexibility for input directory structure to LoadIncrementalHFiles
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-11409
>                 URL: https://issues.apache.org/jira/browse/HBASE-11409
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: churro morales
>            Assignee: churro morales
>         Attachments: HBASE-11409.v1.patch
>
>
> Use case:
> We were trying to combine two very large tables into a single table.  Thus we ran jobs in one datacenter that populated certain column families and another datacenter which populated other column families.  Took a snapshot and exported them to their respective datacenters.  Wanted to simply take the hdfs restored snapshot and use LoadIncremental to merge the data.  
> It would be nice to add support where we could run LoadIncremental on a directory where the depth of store files is something other than two (current behavior).  
> With snapshots it would be nice if you could pass a restored hdfs snapshot's directory and have the tool run.  
> I am attaching a patch where I parameterize the bulkLoad timeout as well as the default store file depth.  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)