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

Chen He commented on HADOOP-12038:
----------------------------------

Hi [~steve_l], thank you for the comment. I should describe it more clear.

In hadoop-openstack module, it says there is not unit test but only functional 
test since it has dependency on swift server. If there is no swift server, all 
those unit tests in hadoop-openstack module will not be executed. 

I met this issue when I copying a large file to swift server. It returns to me 
this warning because the tmp file has already been deleted. 

I will try to add a unit test following the same pattern that previous unit 
tests have. 

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

Reply via email to