Details
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-15475 Fix broken unit tests on Windows
- Open
- relates to
-
HDFS-13268 TestWebHdfsFileContextMainOperations fails on Windows
- Resolved