hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18801) Bulk load cleanup may falsely deem file deletion successful
Date Wed, 13 Sep 2017 12:41:00 GMT

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

Ted Yu commented on HBASE-18801:

It is not easy to know the cause of inability to delete the file based on boolean return.

For now, IOException can be thrown when false is returned.

> 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

View raw message