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

Harsh J updated MAPREDUCE-2592:
-------------------------------

    Attachment: MAPREDUCE-2592.r1.diff

A WIP patch that makes the log creating method throw an IOE instead of simply 
logging a WARN.

No tests added yet. Would appreciate some help on writing one!

> TT should fail task immediately if userlog dir cannot be created
> ----------------------------------------------------------------
>
>                 Key: MAPREDUCE-2592
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2592
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: tasktracker
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Harsh J
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-2592.r1.diff
>
>
> Currently, TaskRunner will log the message "mkdirs failed. Ignoring" if it 
> fails to mkdir the userlog directory for a task. Then, it goes on to spawn 
> taskjvm.sh which tries to redirect output into the userlogs dir, thus failing 
> with exit code 1. This leads to error messages that are very hard to diagnose 
> ("task failed with exit status 1") in cases where the userlog directory has 
> either become inaccessible or has reached the maximum number of dirents 
> (32000 in ext3)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to