[
https://issues.apache.org/jira/browse/HADOOP-12856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mingliang Liu updated HADOOP-12856:
-----------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: 3.0.0-alpha3
2.9.0
Status: Resolved (was: Patch Available)
Committed to {{branch-2}} and {{trunk}}. The findbugs warnings are not related
and are being fixed in separate JIRA. Thanks for your contribution
[[email protected]].
> 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
> Priority: Minor
> Fix For: 2.9.0, 3.0.0-alpha3
>
> Attachments: HADOOP-12856-001.patch, HADOOP-12856-002.patch,
> HADOOP-12856-003.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: [email protected]
For additional commands, e-mail: [email protected]