You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Xiao Liang (JIRA)" <ji...@apache.org> on 2018/03/15 22:40:00 UTC

[jira] [Created] (HDFS-13296) GenericTestUtils#getTempPath and GenericTestUtils#getRandomizedTestDir generate paths with drive letter in Windows, and fail webhdfs related test cases

Xiao Liang created HDFS-13296:
---------------------------------

             Summary: 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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org