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

Hairong Kuang updated HADOOP-2023:
----------------------------------

    Attachment: dirAllocatorTest.patch

This test can not run on Windows because Cygwin allows creation of a directory 
under a read-only directory. For now I simply disenable the running of the test 
under Cygwin.

> TestLocalDirAllocator fails on Windows
> --------------------------------------
>
>                 Key: HADOOP-2023
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2023
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.15.0
>         Environment: Windows
>            Reporter: Mukund Madhugiri
>            Assignee: Hairong Kuang
>            Priority: Blocker
>         Attachments: dirAllocatorTest.patch
>
>
> The following tests failed on Windows. It passed on Linux
> org.apache.hadoop.fs.TestLocalDirAllocator.test0
> org.apache.hadoop.fs.TestLocalDirAllocator.test1
> org.apache.hadoop.fs.TestLocalDirAllocator.test2
> org.apache.hadoop.fs.TestLocalDirAllocator.test3
> Exception thrown (org.apache.hadoop.fs.TestLocalDirAllocator.test0):
> junit.framework.AssertionFailedError
>       at 
> org.apache.hadoop.fs.TestLocalDirAllocator.validateTempDirCreation(TestLocalDirAllocator.java:67)
>       at 
> org.apache.hadoop.fs.TestLocalDirAllocator.test0(TestLocalDirAllocator.java:84)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to