[
https://issues.apache.org/jira/browse/HBASE-16672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15516218#comment-15516218
]
Ted Yu commented on HBASE-16672:
--------------------------------
The first copy is part of backup artifacts which should be immutable.
There is no third copy:
{code}
- finalPath = bulkLoadListener.prepareBulkLoad(familyName, path);
+ finalPath = bulkLoadListener.prepareBulkLoad(familyName, path,
copyFile);
+ copyFile = false;
{code}
Once hfile is copied to staging dir, there wouldn't be another copy.
> Add option for bulk load to copy hfile(s) instead of renaming
> -------------------------------------------------------------
>
> Key: HBASE-16672
> URL: https://issues.apache.org/jira/browse/HBASE-16672
> Project: HBase
> Issue Type: Improvement
> Reporter: Ted Yu
> Assignee: Ted Yu
> Attachments: 16672.v1.txt, 16672.v2.txt, 16672.v3.txt, 16672.v4.txt,
> 16672.v5.txt, 16672.v6.txt
>
>
> This is related to HBASE-14417, to support incrementally restoring to
> multiple destinations, this issue adds option which would always copy
> hfile(s) during bulk load.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)