You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Íñigo Goiri (JIRA)" <ji...@apache.org> on 2018/03/20 00:26:00 UTC

[jira] [Commented] (HDFS-13296) GenericTestUtils generates paths with drive letter in Windows and fail webhdfs related test cases

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

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

Thanks [~surmountian] for the patch and [~giovanni.fumarola] for the review.
I committed to trunk, branch-3.1, branch-3.0, branch-2, and branch-2.9.
I think branch-3.1 should be 3.1.1 by now but is not available.

> GenericTestUtils generates paths with drive letter in Windows and fail webhdfs related test cases
> -------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-13296
>                 URL: https://issues.apache.org/jira/browse/HDFS-13296
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Xiao Liang
>            Assignee: Xiao Liang
>            Priority: Major
>              Labels: windows
>             Fix For: 2.10.0, 2.9.1, 3.0.2, 3.2.0
>
>         Attachments: HDFS-13296.000.patch
>
>
> In GenericTestUtils#getRandomizedTestDir, getAbsoluteFile is called and will added drive letter to the path in windows, some test cases use the generated path to send webhdfs request, which will fail due to the drive letter in the URI like: "webhdfs://127.0.0.1:18334/D:/target/test/data/vUqZkOrBZa/test"
> GenericTestUtils#getTempPath has the similar issue in Windows.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org