[ 
https://issues.apache.org/jira/browse/HADOOP-12856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15984114#comment-15984114
 ] 

Hudson commented on HADOOP-12856:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11630 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/11630/])
HADOOP-12856. FileUtil.checkDest() and RawLocalFileSystem.mkdirs() to (liuml07: 
rev d11d280b8b527d572ca0b29ef57434e9ff533ffe)
* (edit) 
hadoop-common-project/hadoop-common/src/test/resources/contract/rawlocal.xml
* (edit) 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/rawlocal/RawlocalFSContract.java
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/RawLocalFileSystem.java


> 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]

Reply via email to