hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12856) FileUtil.checkDest() and RawLocalFileSystem.mkdirs() to throw stricter IOEs; RawLocalFS contract tests to verify
Date Tue, 25 Apr 2017 17:57:04 GMT

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

Steve Loughran updated HADOOP-12856:
------------------------------------
    Status: Open  (was: Patch Available)

> FileUtil.checkDest() and RawLocalFileSystem.mkdirs() to throw stricter IOEs; RawLocalFS
contract tests to verify
> ----------------------------------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Steve Loughran
>         Attachments: HADOOP-12856-001.patch, HADOOP-12856-002.patch
>
>
> {{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.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message