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

Gergely Novák reassigned MAPREDUCE-5306:
----------------------------------------

    Assignee: Gergely Novák

> 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
>            Assignee: Gergely Novák
>            Priority: Minor
>         Attachments: MAPREDUCE-5306.002.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)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to