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

Konstantin Shvachko commented on MAPREDUCE-4349:
------------------------------------------------

One simple suggestion. You should use {{FileUtil.fullyDelete}} instead of 
implementing {{delete()}} internally.
Once you do that {{if (f2.exists())}} should become {{AssertFalse(f2.exists())}}
                
> Distributed Cache gives inconsistent result if cache Archive files get 
> deleted from task tracker 
> -------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4349
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4349
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 0.22.0, 1.0.3, trunk
>            Reporter: Mayank Bansal
>            Assignee: Mayank Bansal
>            Priority: Minor
>         Attachments: PATCH-MAPREDUCE-4349-22-v2.patch, 
> PATCH-MAPREDUCE-4349-22.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to