Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.0-beta, 3.0.0-alpha1
-
None
-
Reviewed
Description
HADOOP-9287 made changes to the tests to support running multiple tests in parallel. Part of that patch accidentally reverted a prior change to use paths of the form "/tmp/<test name>" when running tests against HDFS. On Windows, use of the test root will contain a drive spec (i.e. C:\dir), and the colon character is rejected as invalid by HDFS.
Attachments
Attachments
Issue Links
- is broken by
-
HADOOP-9287 Parallel testing hadoop-common
- Closed
- is part of
-
HDFS-3602 Enhancements to HDFS for Windows Server and Windows Azure development and runtime environments
- Resolved
- relates to
-
HDFS-4260 Fix HDFS tests to set test dir to a valid HDFS path as opposed to the local build path
- Resolved
-
HDFS-13268 TestWebHdfsFileContextMainOperations fails on Windows
- Resolved
HADOOP-9287changed FileSystemTestHelper to allow passing an override of the test root to its constructor. This supports overriding to paths of the form /tmp/<test name> for HDFS. It looks like we missed FileContextTestHelper though, so we'll likely need similar changes for that. An example of a failing test is TestFcHdfsCreateMkdir.aklochkov, are you interested in doing a follow-up patch? If not, I can take it. I'm also happy to help with testing.