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

Heng Chen commented on HBASE-16509:
-----------------------------------

change "unmatchedFamilies" from List to Set?   It may cause OOM if we use 
List...

> Add option to LoadIncrementalHFiles which allows skipping unmatched column 
> families
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-16509
>                 URL: https://issues.apache.org/jira/browse/HBASE-16509
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 16509.v1.txt, 16509.v2.txt, 16509.v3.txt, 16509.v3.txt
>
>
> During my work on HBASE-15449, there came the need for LoadIncrementalHFiles 
> not to bail out on unmatched column families.
> The use case is like this:
> * table has two column families, A and B
> * full backup is taken on this table
> * column family B is dropped
> * more data is written to the table
> * incremental backup is performed on the table
> * user performs incremental restore using the latest backup
> Since column family B is gone, LoadIncrementalHFiles would fail with 
> IOException for family mismatch.
> This issue is to add an option to LoadIncrementalHFiles so that bulk load can 
> load hfiles for the existing column families.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to