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 2019/04/11 04:28:00 UTC

[jira] [Created] (HDFS-14421) HDFS block two replicas exist in one DataNode

Yuanbo Liu created HDFS-14421:
---------------------------------

             Summary: HDFS block two replicas exist in one DataNode
                 Key: HDFS-14421
                 URL: https://issues.apache.org/jira/browse/HDFS-14421
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Yuanbo Liu


We're using Hadoop-2.7.0.

There is a file which replication factor is 2. Those two replicas exist in one Datande. the fsck info is here:

{color:#707070}BP-499819267-xx.xxx.131.201-1452072365222:blk_1400651575_326942161 len=484045 repl=2 [DatanodeInfoWithStorage[xx.xxx.80.205:50010,DS-d321be27-cbd4-4edd-81ad-29b3d021ee82,DISK], DatanodeInfoWithStorage[xx.xx.80.205:50010,DS-d321be27-cbd4-4edd-81ad-29b3d021ee82,DISK]].{color}

and this is the exception from xx.xx.80.205

{color:#707070}org.apache.hadoop.hdfs.server.datanode.ReplicaNotFoundException: Replica not found for BP-499819267-xx.xxx.131.201-1452072365222:blk_1400651575_326942161{color}

It's confusing that why NameNode doesn't update block map after exception. What's the reason of two replicas exist in one Datande?

Hope to get anyone's comments. Thanks in advance.

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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