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

Scott Chen commented on MAPREDUCE-1538:
---------------------------------------

In the patch, we track the number of subdirectories and if it goes up to a 
threshold, we delete the released cache.
Similar mechanism is there for the total size. So we just adapt from that.

> TrackerDistributedCacheManager can fail because the number of subdirectories 
> reaches system limit
> -------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1538
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1538
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: tasktracker
>    Affects Versions: 0.22.0
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-1538.patch
>
>
> TrackerDistributedCacheManager deletes the cached files when the size goes up 
> to a configured number.
> But there is no such limit for the number of subdirectories. Therefore the 
> number of subdirectories may grow large and exceed system limit.
> This will make TT cannot create directory when getLocalCache and fails the 
> tasks.

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