[ 
https://issues.apache.org/jira/browse/HDFS-4716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated HDFS-4716:
--------------------------------

    Attachment: HDFS-4716.1.patch

The test was not setting dfs.namenode.name.dir.  It was using the default.  On 
Windows, this would end up being an invalid URI containing '\' characters after 
configuration performed property substitution, i.e. file://C:\foo\bar/dfs/name.

This patch is a one-line fix to initialize dfs.namenode.name.dir to a correct 
value under test.build.data.
                
> TestAllowFormat#testFormatShouldBeIgnoredForNonFileBasedDirs fails on Windows
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-4716
>                 URL: https://issues.apache.org/jira/browse/HDFS-4716
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode, test
>    Affects Versions: 3.0.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HDFS-4716.1.patch
>
>
> {{TestAllowFormat#testFormatShouldBeIgnoredForNonFileBasedDirs}} fails on 
> Windows due to an incorrectly initialized name dir in the {{Configuration}} 
> used by the test.

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

Reply via email to