hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5103) TestDirectoryScanner fails on Windows
Date Thu, 15 Aug 2013 22:21:48 GMT

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

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

    Status: Patch Available  (was: Open)
    
> 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
>         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

Mime
View raw message