You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Mukund Madhugiri (JIRA)" <ji...@apache.org> on 2007/10/10 18:11:51 UTC

[jira] Created: (HADOOP-2023) TestLocalDirAllocator fails on Windows

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


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.


[jira] Commented: (HADOOP-2023) TestLocalDirAllocator fails on Windows

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534328 ] 

Hudson commented on HADOOP-2023:
--------------------------------

Integrated in Hadoop-Nightly #269 (See [http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/269/])

> 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
>             Fix For: 0.15.0
>
>         Attachments: dirAllocatorTest.patch, dirAllocatorTest1.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.


[jira] Updated: (HADOOP-2023) TestLocalDirAllocator fails on Windows

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley updated HADOOP-2023:
--------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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
>             Fix For: 0.15.0
>
>         Attachments: dirAllocatorTest.patch, dirAllocatorTest1.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.


[jira] Updated: (HADOOP-2023) TestLocalDirAllocator fails on Windows

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s: 0.15.0

> 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
>             Fix For: 0.15.0
>
>         Attachments: dirAllocatorTest.patch, dirAllocatorTest1.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.


[jira] Commented: (HADOOP-2023) TestLocalDirAllocator fails on Windows

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534184 ] 

Nigel Daley commented on HADOOP-2023:
-------------------------------------

+1 code review.

> 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
>             Fix For: 0.15.0
>
>         Attachments: dirAllocatorTest.patch, dirAllocatorTest1.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.


[jira] Updated: (HADOOP-2023) TestLocalDirAllocator fails on Windows

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: dirAllocatorTest1.patch

A new patch with slight formatting changes.

> 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
>             Fix For: 0.15.0
>
>         Attachments: dirAllocatorTest.patch, dirAllocatorTest1.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.


[jira] Commented: (HADOOP-2023) TestLocalDirAllocator fails on Windows

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534196 ] 

Hadoop QA commented on HADOOP-2023:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12367608/dirAllocatorTest1.patch
against trunk revision r583963.

    @author +1.  The patch does not contain any @author tags.

    javadoc +1.  The javadoc tool did not generate any warning messages.

    javac +1.  The applied patch does not generate any new compiler warnings.

    findbugs +1.  The patch does not introduce any new Findbugs warnings.

    core tests +1.  The patch passed core unit tests.

    contrib tests +1.  The patch passed contrib unit tests.

Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/930/testReport/
Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/930/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/930/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/930/console

This message is automatically generated.

> 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
>             Fix For: 0.15.0
>
>         Attachments: dirAllocatorTest.patch, dirAllocatorTest1.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.


[jira] Updated: (HADOOP-2023) TestLocalDirAllocator fails on Windows

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Patch Available  (was: Open)

> 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, dirAllocatorTest1.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.


[jira] Updated: (HADOOP-2023) TestLocalDirAllocator fails on Windows

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Commented: (HADOOP-2023) TestLocalDirAllocator fails on Windows

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534208 ] 

Nigel Daley commented on HADOOP-2023:
-------------------------------------

I just committed this.  Thanks Hairong!

> 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
>             Fix For: 0.15.0
>
>         Attachments: dirAllocatorTest.patch, dirAllocatorTest1.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.