You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2011/08/24 09:11:35 UTC

[jira] [Updated] (MAPREDUCE-2804) "Creation of symlink to attempt log dir failed." message is not useful

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

Owen O'Malley updated MAPREDUCE-2804:
-------------------------------------

    Attachment: mr-2804.patch

Fundamentally, there were two problems:

1. The logging message was less than useful.
2. There is a race condition when java's primitives are used to change permissions on a file.

This patch fixes the log messages to be much clearer about what is going wrong and removes the extra chmod of the job directory. It was that chmod that was causing the creation of the symlinks of a different task to fail when they were launching at the same time.

> "Creation of symlink to attempt log dir failed." message is not useful
> ----------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.204.0
>            Reporter: Allen Wittenauer
>            Assignee: Owen O'Malley
>            Priority: Blocker
>         Attachments: mr-2804.patch
>
>
> In attempting to qualify the 204 RC2 release, my tasktracker logs are filled with the above message.  I'd love to do something about it, but since it doesn't tell me what exactly it is trying to symlink I cannot unless I dig into the source code.

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