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

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

I would rather integrated verification of archive files in 
{{testCacheConsistency()}} instead of creating a new test case.
You can do
{code}
DistributedCache.addCacheFile(firstCacheFile ...
DistributedCache.addCacheArchive(firstCacheArchive ...
{code}
And then add verification for the archive along with the file.
I think it will be less change, and definitely less code replication.
Otherwise it will need refactoring to extract common parts of code into methods.
                
> 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.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