[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amareshwari Sriramadasu updated MAPREDUCE-1140:
-----------------------------------------------

    Attachment: patch-1140-3.txt

Patch incorporating review comments.

bq.  I would enhance testReferenceCount to add 3 files instead of 2, the first 
file should be localized correctly, the second should fail after the reference 
count is incremented, and the third will not be localized at all. Then we can 
verify that the reference count for all files is 0.
I enhanced the test to add three files where first file would fail in 
localization, second file is already localized by a different job and third 
file is never localized. The path to verify successful localization is already 
covered.

> Per cache-file refcount can become negative when tasks release 
> distributed-cache files
> --------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1140
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1140
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: tasktracker
>    Affects Versions: 0.20.2, 0.21.0, 0.22.0
>            Reporter: Vinod K V
>            Assignee: Amareshwari Sriramadasu
>         Attachments: patch-1140-1.txt, patch-1140-2.txt, patch-1140-3.txt, 
> patch-1140-ydist.txt, patch-1140-ydist.txt, patch-1140.txt
>
>


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