hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4129) Add utility methods to dump NameNode in memory tree for testing
Date Tue, 30 Oct 2012 04:36:12 GMT

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

Suresh Srinivas commented on HDFS-4129:
---------------------------------------

Nicholas this will be useful tool. In the test (say for b1 after dumping recursively) can
you add test to ensure each line printed is in the format you expect?
                
> Add utility methods to dump NameNode in memory tree for testing
> ---------------------------------------------------------------
>
>                 Key: HDFS-4129
>                 URL: https://issues.apache.org/jira/browse/HDFS-4129
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: name-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>         Attachments: h4129_20121029b.patch, h4129_20121029.patch
>
>
> The output of the utility methods looks like below.
> {noformat}
> \- foo   (INodeDirectory)
>   \- sub1   (INodeDirectory)
>     +- file1   (INodeFile)
>     +- file2   (INodeFile)
>     +- sub11   (INodeDirectory)
>       \- file3   (INodeFile)
>     \- z_file4   (INodeFile)
> {noformat}

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

Mime
View raw message