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

Hudson commented on HDFS-2039:
------------------------------

Integrated in Hadoop-Hdfs-22-branch #62 (See 
[https://builds.apache.org/hudson/job/Hadoop-Hdfs-22-branch/62/])
    HDFS-2039. TestNameNodeMetrics uses a bad test root path, preventing it 
from running inside Eclipse. Contributed by Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1132777
Files : 
* 
/hadoop/hdfs/branches/branch-0.22/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/metrics/TestNameNodeMetrics.java
* /hadoop/hdfs/branches/branch-0.22/CHANGES.txt


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