You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2013/04/09 03:15:14 UTC

[jira] [Updated] (HDFS-4674) TestBPOfferService fails on Windows due to failure parsing datanode data directory as URI

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

Chris Nauroth updated HDFS-4674:
--------------------------------

    Attachment: HDFS-4674.1.patch

This patch sets {{dfs.datanode.data.dir}} to a sub-directory of {{test.build.data}}, like most of the HDFS tests.  I tested this successfully on Mac and Windows.
                
> TestBPOfferService fails on Windows due to failure parsing datanode data directory as URI
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-4674
>                 URL: https://issues.apache.org/jira/browse/HDFS-4674
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HDFS-4674.1.patch
>
>
> {{TestBPOfferService}} does not set {{dfs.datanode.data.dir}}.  When {{BPServiceActor}} starts, it attempts to use a thread name containing {{dfs.datanode.data.dir}} parsed as URI.  On Windows, this will not parse correctly due to presence of '\'.

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