hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ming Ma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-7993) Incorrect descriptions in fsck when nodes are decommissioned
Date Thu, 26 Mar 2015 03:04:57 GMT
Ming Ma created HDFS-7993:

             Summary: Incorrect descriptions in fsck when nodes are decommissioned
                 Key: HDFS-7993
                 URL: https://issues.apache.org/jira/browse/HDFS-7993
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Ming Ma

When you run fsck with "-files" or "-racks", you will get something like below if one of the
replicas is decommissioned.

blk_x len=y repl=3 [dn1, dn2, dn3, dn4]

That is because in NamenodeFsck,, the repl count comes from live replicas count; while the
actual nodes come from LocatedBlock which include decommissioned nodes.

Another issue in NamenodeFsck is BlockPlacementPolicy's verifyBlockPlacement verifies LocatedBlock
that includes decommissioned nodes. However, it seems better to exclude the decommissioned
nodes in the verification; just like how fsck excludes decommissioned nodes when it check
for under replicated blocks.

This message was sent by Atlassian JIRA

View raw message