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

dhruba borthakur commented on HADOOP-2891:
------------------------------------------

The bug is demonstrated by unit test failure in TestMiniMRDFSSort, no separate 
unit test necessary. Regarding the findbugs warning, "findbugs" in able to 
detect that one thread is closed() and joined() before the "streamer" variable 
is accessed, thus it is safe and is not a bug.

> The dfsclient on exit deletes files that are open and not closed.
> -----------------------------------------------------------------
>
>                 Key: HADOOP-2891
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2891
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Mahadev konar
>            Assignee: dhruba borthakur
>             Fix For: 0.17.0
>
>         Attachments: abandonFile.patch, abandonFile.patch, abandonFile.patch, 
> abandonFile2.patch
>
>
> the dfsclient has a shutdown hook that deletes files that have been left open 
> but not closed. We should not be cleaning up files that have been open and 
> not closed. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to