[ https://issues.apache.org/jira/browse/MAPREDUCE-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer updated MAPREDUCE-3047: ---------------------------------------- Status: Patch Available (was: Open) > 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 > Reporter: JiangKai > Priority: Trivial > Attachments: MAPREDUCE-3047-1.patch, MAPREDUCE-3047-2.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 was sent by Atlassian JIRA (v6.3.4#6332)