[
https://issues.apache.org/jira/browse/HBASE-11571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345802#comment-14345802
]
Enis Soztutar commented on HBASE-11571:
---------------------------------------
+1. You can move (on commit) the try to an outer scope for future-proofing:
{code}
+ try {
+ StoreFileInfo storeFileInfo =
fs.getStoreFileInfo(Bytes.toString(family), storeFile);
+ store.bulkLoadHFile(storeFileInfo);
+ } catch(FileNotFoundException ex) {
+ LOG.warn(getRegionInfo().getEncodedName() + " : " + storeFileInfo
+ + " doesn't exist any more. Skip loading the file");
+ }
{code}
> Bulk load handling from secondary region replicas
> -------------------------------------------------
>
> Key: HBASE-11571
> URL: https://issues.apache.org/jira/browse/HBASE-11571
> Project: HBase
> Issue Type: Sub-task
> Reporter: Enis Soztutar
> Assignee: Jeffrey Zhong
> Attachments: HBASE-11571-rebase.patch, HBASE-11571-v2.patch,
> hbase-11571.patch
>
>
> We should be replaying the bulk load events from the primary region replica
> in the secondary region replica so that the bulk loaded files will be made
> visible in the secondaries.
> This will depend on HBASE-11567 and HBASE-11568
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)