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

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

This patch is able to reduce our failed unit tests in Windows for HDFS from 296 
to 239 in 2.9.
The results for YARN are the same and as Yetus says, there is no change for 
Commons.
[~chris.douglas], [~subru], any idea on how we can trigger HDFS unit tests and 
not only Commons?

[~giovanni.fumarola], review appreciated.

> GenericTestUtils#getTempPath and GenericTestUtils#getRandomizedTestDir 
> generate 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
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to