You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/12/12 07:09:59 UTC

[jira] [Created] (HBASE-17292) Add observer notification before bulk loaded hfile is moved to region directory

Ted Yu created HBASE-17292:
------------------------------

             Summary: Add observer notification before bulk loaded hfile is moved to region directory
                 Key: HBASE-17292
                 URL: https://issues.apache.org/jira/browse/HBASE-17292
             Project: HBase
          Issue Type: Improvement
            Reporter: Ted Yu
            Assignee: Ted Yu


Currently the postBulkLoadHFile() hook notifies the locations of bulk loaded hfiles.
However, if bulk load fails after hfile is moved to region directory but before postBulkLoadHFile() hook is called, there is no way for pluggable components (replication, backup / restore) to know which hfile(s) have been moved to region directory.

This issue adds a preCommitStoreFile() hook which notifies path of to be committed hfile before bulk loaded hfile is moved to region directory.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)