hbase-issues mailing list archives

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

    [ 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)

Mime
View raw message