[
https://issues.apache.org/jira/browse/HBASE-4552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13140212#comment-13140212
]
ramkrishna.s.vasudevan commented on HBASE-4552:
-----------------------------------------------
In test case TestLoadIncrementalHFilesSplitRecovery
new HTable(tableName) is getting used.
{code}
+ LOG.info("Creating table " + table);
+ HTableDescriptor htd = new HTableDescriptor(table);
{code}
As part of HBASE-4253 it was found that using new HTableDescriptor(conf,
tablename) is the best way. Also check HBASE-4138(comment 25/Aug/11 09:19) for
reference.
This will prevent the failure that happened in
https://builds.apache.org/job/PreCommit-HBASE-Build/99/testReport/org.apache.hadoop.hbase.mapreduce/TestLoadIncrementalHFilesSplitRecovery/testBulkLoadPhaseRecovery/
Correct me if am wrong.
> 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
> Assignee: Jonathan Hsieh
> Fix For: 0.92.0
>
> Attachments: hbase-4552.consolidated.patch,
> hbase-4552.consolidated.v2.patch, hbase-4552.consolidated.v3.patch,
> hbase-4552.consolidated.v4.patch
>
>
> 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