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 2016/11/18 02:42:58 UTC
[jira] [Commented] (HBASE-17123) Add postBulkLoadHFile variant that
notifies the final paths for the hfiles
[ https://issues.apache.org/jira/browse/HBASE-17123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15675527#comment-15675527 ]
Ted Yu commented on HBASE-17123:
--------------------------------
SecureBulkLoadManager calls bulkLoadHFiles() of Region:
{code}
return region.bulkLoadHFiles(familyPaths, true,
new SecureBulkLoadListener(fs, bulkToken, conf), request.getCopyFile());
{code}
I plan to change the return value of bulkLoadHFiles() to List<Pair<byte[], String>>, corresponding to paths of the final hfiles.
[~enis]:
What do you think ?
> Add postBulkLoadHFile variant that notifies the final paths for the hfiles
> --------------------------------------------------------------------------
>
> Key: HBASE-17123
> URL: https://issues.apache.org/jira/browse/HBASE-17123
> Project: HBase
> Issue Type: Improvement
> Reporter: Ted Yu
>
> Currently the postBulkLoadHFile() hook passes the same familyPaths parameter which it receives as method parameter.
> See code in SecureBulkLoadManager :
> {code}
> loaded = region.getCoprocessorHost().postBulkLoadHFile(familyPaths, loaded);
> {code}
> Meaning, the paths are not final, moved paths of the loaded hfiles.
> This issue is to add a variant which notifies the final paths of the loaded hfiles.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)