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 2014/12/04 23:28:12 UTC

[jira] [Commented] (HBASE-12547) Adopt server side cleanup for bulk load staging directories

    [ https://issues.apache.org/jira/browse/HBASE-12547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14234721#comment-14234721 ] 

Ted Yu commented on HBASE-12547:
--------------------------------

The lease should not be maintained at HRegion level because the region may move during the lifetime of the underlying table.

Next choice would be to maintain lease at region server level.

> Adopt server side cleanup for bulk load staging directories
> -----------------------------------------------------------
>
>                 Key: HBASE-12547
>                 URL: https://issues.apache.org/jira/browse/HBASE-12547
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>
> Currently we rely on the client to send the clean up request for bulk load staging directories.
> In discussion of HBASE-12533, Enis and I raised similar comment about cleaning up bulk load staging directories from server side.
> We can keep lease on staging directory for bulk load operation. The default lease period should be long enough. After the lease expires, the underlying staging directory would be cleaned.
> This increases the robustness of bulk load process.



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