[ 
https://issues.apache.org/jira/browse/HDFS-13625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16491889#comment-16491889
 ] 

Íñigo Goiri commented on HDFS-13625:
------------------------------------

A little convoluted to have to do:
{code}
Path f = new Path(p, "foo/bar");
Path fAbs = new Path(new File(f.toString()).getAbsolutePath());
{code}
But not sure there is a better way.
[~surmountian], do you mind reviewing too?

> TestHDFSTrash#testNonDefaultFS fails on Windows
> -----------------------------------------------
>
>                 Key: HDFS-13625
>                 URL: https://issues.apache.org/jira/browse/HDFS-13625
>             Project: Hadoop HDFS
>          Issue Type: Test
>            Reporter: Anbang Hu
>            Assignee: Anbang Hu
>            Priority: Minor
>              Labels: Windows
>         Attachments: HDFS-13625.000.patch
>
>
> [TestHDFSTrash#testNonDefaultFS|https://builds.apache.org/job/hadoop-trunk-win/478/testReport/org.apache.hadoop.hdfs/TestHDFSTrash/testNonDefaultFS/]
>  fails on Windows due to improper usage of path:
> {color:#d04437}Could not find file in trash: 
> file:/C:/Users/jenkins/.Trash/Currenttarget/test/data/testTrash/foo/bar{color}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to