[ 
https://issues.apache.org/jira/browse/HDFS-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045120#comment-13045120
 ] 

Matt Foley commented on HDFS-2039:
----------------------------------

+1.  Normally I expect file manipulations to work equally on either local or 
HDFS filesystems, but Todd is right that this unit test is intended to work 
only against a Namenode.

> TestNameNodeMetrics uses a bad test root path
> ---------------------------------------------
>
>                 Key: HDFS-2039
>                 URL: https://issues.apache.org/jira/browse/HDFS-2039
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.23.0
>
>         Attachments: hdfs-2039.txt
>
>
> I found that running TestNameNodeMetrics within eclipse fails, since 
> TEST_ROOT_DIR_PATH has a default which is a non-absolute path. Since this 
> path is a DFS path, rather than a local FS path, it shouldn't use the test 
> root dir system property anyhow - we can just hardcode it to a path on DFS.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to