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 "Yuanbo Liu (JIRA)" <ji...@apache.org> on 2016/07/31 05:58:20 UTC

[jira] [Updated] (HDFS-10693) metaSave should print blocks, not LightWeightHashSet

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

Yuanbo Liu updated HDFS-10693:
------------------------------
    Attachment: HDFS-10693.001.patch

[~shv] 
Thanks for filing this. I've prepared v1 patch for this issue.
To my knowledge, metaSave is some kind of report tool, it will not cause compatible problem if I change the output form of metaSave, am I right?

> metaSave should print blocks, not LightWeightHashSet
> ----------------------------------------------------
>
>                 Key: HDFS-10693
>                 URL: https://issues.apache.org/jira/browse/HDFS-10693
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.6.1
>            Reporter: Konstantin Shvachko
>            Assignee: Yuanbo Liu
>         Attachments: HDFS-10693.001.patch
>
>
> metaSave command does not print actually block info for invalid blocks. This is because it is trying to print instances of {{LightWeightHashSet<Block>}}, which is not informative.
> See {{InvalidateBlocks.dump()}} method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org