You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2016/02/29 16:50:18 UTC

[jira] [Created] (HADOOP-12856) FileUtil.checkDest() to throw PathExistsException and PathIsDirectoryException when appropriate

Steve Loughran created HADOOP-12856:
---------------------------------------

             Summary: FileUtil.checkDest() to throw PathExistsException and PathIsDirectoryException when appropriate
                 Key: HADOOP-12856
                 URL: https://issues.apache.org/jira/browse/HADOOP-12856
             Project: Hadoop Common
          Issue Type: Improvement
          Components: fs
    Affects Versions: 2.8.0
            Reporter: Steve Loughran


{{FileUtil.checkDest()}} throws IOEs when its conditions are not met, with meaningful text.

The code could be improved if it were to throw {{PathExistsException}} and {{PathIsDirectoryException}} when appropriate



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)