hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-10495) TestFileUtil fails on Windows due to bad permission assertions.
Date Sun, 13 Apr 2014 15:07:14 GMT
Chris Nauroth created HADOOP-10495:
--------------------------------------

             Summary: 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: 2.4.0, 3.0.0
            Reporter: Chris Nauroth
            Assignee: Chris Nauroth
            Priority: Trivial
         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)

Mime
View raw message