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 "lohit vijayarenu (JIRA)" <ji...@apache.org> on 2008/03/28 01:34:24 UTC

[jira] Updated: (HADOOP-3114) TestDFSShell fails on Windows.

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

lohit vijayarenu updated HADOOP-3114:
-------------------------------------

    Status: Patch Available  (was: Open)

> TestDFSShell fails on Windows.
> ------------------------------
>
>                 Key: HADOOP-3114
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3114
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs, fs
>    Affects Versions: 0.17.0
>         Environment: Windows
>            Reporter: Konstantin Shvachko
>             Fix For: 0.17.0
>
>         Attachments: HADOOP-3114-1.patch
>
>
> TestDFSShell.testPut() fails with the following exception:
> {code}
> Pathname /C:/Hadoop/build/test/data/f1 from C:/Hadoop/build/test/data/f1 is not a valid DFS filename.
> java.lang.IllegalArgumentException: Pathname /C:/Hadoop/build/test/data/f1 from C:/Hadoop/build/test/data/f1 is not a valid DFS filename.
> 	at org.apache.hadoop.dfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:112)
> 	at org.apache.hadoop.dfs.DistributedFileSystem.exists(DistributedFileSystem.java:184)
> 	at org.apache.hadoop.dfs.TestDFSShell.testPut(TestDFSShell.java:214)
> {code}
> Looks like that Path treats windows drive letter incorrectly.
> Not sure which path introduced it, but needs to be fixed for 0.17 imo.

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