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] [Updated] (HBASE-18801) Bulk load cleanup may falsely deem file deletion successful
Date Fri, 15 Sep 2017 02:44:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-18801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Reid Chan updated HBASE-18801:
------------------------------
    Attachment: HBASE-18801.branch-1.001.patch

patch for branch-1

> 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
>            Assignee: Reid Chan
>         Attachments: HBASE-18801.branch-1.001.patch, HBASE-18801.master.001.patch, HBASE-18801.master.002.patch,
HBASE-18801.master.003.patch
>
>
> 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