You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Reid Chan (JIRA)" <ji...@apache.org> on 2017/09/13 07:52:00 UTC

[jira] [Commented] (HBASE-18801) Bulk load cleanup may falsely deem file deletion successful

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

Reid Chan commented on HBASE-18801:
-----------------------------------

Hi [~tedyu]
What is expected to do when deletion returns false? an error log, or few more retries?

> Bulk load cleanup may falsely deem file deletion successful
> -----------------------------------------------------------
>
>                 Key: HBASE-18801
>                 URL: https://issues.apache.org/jira/browse/HBASE-18801
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>
> Toward the cleanupBulkLoad() method:
> {code}
>     fs.delete(new Path(request.getBulkToken()), true);
> {code}
> The return value from delete() call is ignore, potentially leading to file lying around after the cleanup.
> This applies to all branches.
> Discovered when investigating bulk load test failure.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)