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

Chris Nauroth updated HDFS-6237:
--------------------------------

    Attachment: HDFS-6237.1.patch

Here is a patch that converts to using {{File#getAbsolutePath}}, which is 
platform-agnostic.  I verified the test on Mac and Windows.

> TestDFSShell#testGet fails on Windows due to invalid file system path.
> ----------------------------------------------------------------------
>
>                 Key: HDFS-6237
>                 URL: https://issues.apache.org/jira/browse/HDFS-6237
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client, test
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Trivial
>             Fix For: 3.0.0, 2.4.0
>
>         Attachments: HDFS-6237.1.patch
>
>
> {{TestDFSShell#testGet}} concatenates strings manually to create a 
> destination path for a shell get command.  This logic is incorrect on Windows.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to