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 (Commented) (JIRA)" <ji...@apache.org> on 2011/10/10 23:46:30 UTC
[jira] [Commented] (HBASE-4552) multi-CF bulk load is not atomic
across column families
[ https://issues.apache.org/jira/browse/HBASE-4552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124506#comment-13124506 ]
Ted Yu commented on HBASE-4552:
-------------------------------
One solution is to add the following method to HRegionInterface:
{code}
public void bulkLoadHFile(List<Pair<byte[], String>> familyPaths, byte[] regionName)
throws IOException;
{code}
familyPaths is a list of <family, hfilePath> pairs for the same region identified by regionName.
LoadIncrementalHFiles would need to group HFiles for the same region together before calling the above method.
> multi-CF bulk load is not atomic across column families
> -------------------------------------------------------
>
> Key: HBASE-4552
> URL: https://issues.apache.org/jira/browse/HBASE-4552
> Project: HBase
> Issue Type: Bug
> Components: regionserver
> Affects Versions: 0.92.0
> Reporter: Todd Lipcon
> Fix For: 0.92.0
>
>
> Currently the bulk load API simply imports one HFile at a time. With multi-column-family support, this is inappropriate, since different CFs show up separately. Instead, the IPC endpoint should take a of CF -> HFiles, so we can online them all under a single region-wide lock.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira