[
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.