[
https://issues.apache.org/jira/browse/HDFS-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13512021#comment-13512021
]
Sanjay Radia commented on HDFS-4260:
------------------------------------
There is a better way to fix this. See HADOOP-8487.
TEST_ROOT_DIR is set to the build dir. This is fine for local tests.
For HDFS tests this just happens to work for unix platforms because we could
create the same build dir path on HDFS. For windows this fails since the build
dir is "C:/.....".
HDFS-8487 fixed this for FileSystem tests as follows:
* it made the TEST_ROOT_DIR non-final
* individual HDFS tests set the TEST_ROOT_DIR to be something like
/tmp/TestName.
Such a patch can be applied directly to trunk and merged to the windows branch.
> incorrect inclusion of drive spec in test root path causes multiple HDFS test
> failures on Windows
> -------------------------------------------------------------------------------------------------
>
> Key: HDFS-4260
> URL: https://issues.apache.org/jira/browse/HDFS-4260
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Attachments: HDFS-4260-branch-trunk-win.1.patch,
> HDFS-4260-branch-trunk-win.2.patch
>
>
> Multiple HDFS test suites fail early during initialization on Windows because
> of inclusion of the drive spec in the test root path. The ':' gets rejected
> as an invalid character by the logic of isValidName.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira