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 "Oleksandr Alesinskyy (JIRA)" <ji...@apache.org> on 2013/01/16 09:18:15 UTC

[jira] [Created] (MAPREDUCE-4945) FileOutputCommitter.abortTask should check a result of outputFileSystem.delete(workPath, true);

Oleksandr Alesinskyy created MAPREDUCE-4945:
-----------------------------------------------

             Summary: FileOutputCommitter.abortTask should check a result of outputFileSystem.delete(workPath, true);
                 Key: MAPREDUCE-4945
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4945
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: tasktracker
    Affects Versions: 0.21.0, 0.20.205.0
            Reporter: Oleksandr Alesinskyy


MAPREDUCE-1409 partially fixes a problem with an retained output of aborted tasks - unfortunately, the fix is incomplete, there are cases when a {{delete()}} method does neither deletes a file nor throws an exception, but merely returns {{false}}. That means that its return value shall be checked  and if it is {{false}} and a file still exists an exception should be thrown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira