Ted Yu updated HBASE-16646:
    Attachment: 16646.addendum

Turns out I need to maintain the original cleanup logic since 
prepareHFileQueue() may throw IOE.
Addendum extracts the cleanup code into its own method and moves the try / 
finally block into doBulkLoad().

> Enhance LoadIncrementalHFiles API to accept store file paths as input
> ---------------------------------------------------------------------
>                 Key: HBASE-16646
>                 URL: https://issues.apache.org/jira/browse/HBASE-16646
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 2.0.0
>         Attachments: 16646.addendum, 16646.v0.txt, 16646.v1.txt, 
> 16646.v2.txt, 16646.v3.txt
> Currently LoadIncrementalHFiles takes the directory (output path) as input 
> parameter.
> In some scenarios (incremental restore of bulk loaded hfiles), the List of 
> paths to hfiles is known.
> LoadIncrementalHFiles can take the List as input parameter and proceed with 
> loading.

This message was sent by Atlassian JIRA

Reply via email to