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

Chris Nauroth updated HDFS-5103:
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.1-beta
                   3.0.0
           Status: Resolved  (was: Patch Available)

I've committed this to trunk, branch-2, and branch-2.1-beta.  Chuan, thank you 
for the patch.
                
> TestDirectoryScanner fails on Windows
> -------------------------------------
>
>                 Key: HDFS-5103
>                 URL: https://issues.apache.org/jira/browse/HDFS-5103
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0, 2.1.1-beta
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>            Priority: Minor
>             Fix For: 3.0.0, 2.1.1-beta
>
>         Attachments: HDFS-5103-trunk.patch
>
>
> TestDirectoryScanner fails on Windows due to mixed use of Windows path and 
> Unix path.
> {noformat}
> org.junit.ComparisonFailure: 
> expected:<[/base/current/BP-783049782-127.0.0.1-1370971773491/]finalized> but 
> was:<[C:\base\current\BP-783049782-127.0.0.1-1370971773491\]finalized>
>       at org.junit.Assert.assertEquals(Assert.java:125)
>       at org.junit.Assert.assertEquals(Assert.java:147)
>       at 
> org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner.testScanInfoObject(TestDirectoryScanner.java:419)
>       at 
> org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner.TestScanInfo(TestDirectoryScanner.java:449)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>       at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
>       at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>       at 
> org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to