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 "madhukara phatak (Updated) (JIRA)" <ji...@apache.org> on 2012/04/10 19:17:13 UTC

[jira] [Updated] (MAPREDUCE-3047) FileOutputCommitter throws wrong type of exception when calling abortTask() to handle a directory without permission

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

madhukara phatak updated MAPREDUCE-3047:
----------------------------------------

    Attachment: MAPREDUCE-3047.patch

Updated patch according to trunk
                
> FileOutputCommitter throws wrong type of exception when calling abortTask() to handle a directory without permission
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3047
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3047
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 0.24.0
>            Reporter: JiangKai
>            Priority: Trivial
>             Fix For: 0.24.0
>
>         Attachments: MAPREDUCE-3047.patch, MAPREDUCE-3047.patch
>
>
> When FileOutputCommitter calls abortTask() to create a temp directory, if the user has no permission to access the directory, or a file with the same name has existed, of course it will fail, however the system will output the error information into the log file instead of throwing an exception.As a result, when the temp directory is needed later, since the temp directory hasn't been created yet, system will throw an exception to tell user that the temp directory doesn't exist.In my opinion, the exception is not exact and the error infomation will confuse users.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira