hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gergely Novák (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (MAPREDUCE-5306) HistoryFileManager.mkdir() doesn't handle case where dest path exists -and is a file
Date Tue, 10 May 2016 15:01:13 GMT

     [ 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: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org


Mime
View raw message