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 "Gergely Novák (JIRA)" <ji...@apache.org> on 2016/04/27 15:23:13 UTC
[jira] [Updated] (MAPREDUCE-5306) HistoryFileManager.mkdir()
doesn't handle case where dest path exists -and is a file
[ https://issues.apache.org/jira/browse/MAPREDUCE-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gergely Novák updated MAPREDUCE-5306:
-------------------------------------
Status: Patch Available (was: Open)
> 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
> Attachments: MAPREDUCE-5306.001.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)