hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-5306) HistoryFileManager.mkdir() doesn't handle case where dest path exists -and is a file
Date Wed, 05 Jun 2013 22:01:20 GMT
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

Mime
View raw message