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 "Steve Loughran (JIRA)" <ji...@apache.org> on 2013/06/06 00:01:20 UTC
[jira] [Created] (MAPREDUCE-5306) HistoryFileManager.mkdir()
doesn't handle case where dest path exists -and is a file
Steve Loughran created MAPREDUCE-5306:
-----------------------------------------
Summary: HistoryFileManager.mkdir() doesn't handle case where dest path exists -and is a file
Key: MAPREDUCE-5306
URL: https://issues.apache.org/jira/browse/MAPREDUCE-5306
Project: Hadoop Map/Reduce
Issue Type: Bug
Reporter: Steve Loughran
Priority: Minor
The {{HistoryFileManager.mkdir()}} code handles the path existing simply by logging that the dir exists, and returning for everything else to work.
There's a big assumption there: that the path resolves to a directory. A check needs to be made that this assumption is valid -throwing some IOE subclass if it's just a file
--
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