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

Hudson commented on HADOOP-10495:
---------------------------------

SUCCESS: Integrated in Hadoop-Mapreduce-trunk #1757 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1757/])
HADOOP-10495. TestFileUtil fails on Windows due to bad permission assertions. 
Contributed by Chris Nauroth. (cnauroth: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1587137)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileUtil.java


> TestFileUtil fails on Windows due to bad permission assertions.
> ---------------------------------------------------------------
>
>                 Key: HADOOP-10495
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10495
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Trivial
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: HADOOP-10495.1.patch
>
>
> {{TestFileUtil}} contains some assertions that check 
> {{java.io.File#canRead}}.  These assertions fail on Windows.  The 
> {{java.io.File}} methods for checking permissions are known to be buggy in 
> JDK 6.  We can replace these calls with our own custom {{FileUtil#canRead}}, 
> which is correct on all platforms.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to