hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12038) SwiftNativeOutputStream should check whether a file exists or not before deleting
Date Sat, 30 May 2015 14:50:17 GMT

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

Steve Loughran commented on HADOOP-12038:
-----------------------------------------

functional test in the openstack module is fine. 

What I do worry about is how this situation is developing -and whether it should be ignored
at all.

if your tmp file was deleted during a large upload -that's a problem. You've just lost data.
Silently skipping it is not the solution

> SwiftNativeOutputStream should check whether a file exists or not before deleting
> ---------------------------------------------------------------------------------
>
>                 Key: HADOOP-12038
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12038
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>            Reporter: Chen He
>            Assignee: Chen He
>            Priority: Minor
>         Attachments: HADOOP-12038.000.patch
>
>
> 15/05/27 15:27:03 WARN snative.SwiftNativeOutputStream: Could not delete /tmp/hadoop-root/output-3695386887711395289.tmp
> It should check whether the file exists or not before deleting. 



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

Mime
View raw message